pub trait TardisFunInstExtractor {
// Required method
fn tardis_fun_inst(&self) -> TardisFunsInst;
}Expand description
Extractor for TardisFunInst
提取 TardisFunsInst
Required Methods§
fn tardis_fun_inst(&self) -> TardisFunsInst
Implementations on Foreign Types§
Source§impl TardisFunInstExtractor for Request
Extract TardisFunInst from request path
impl TardisFunInstExtractor for Request
Extract TardisFunInst from request path
从请求路径中自动提取 TardisFunInst
Get the first path segment from the request path as the service domain.
If there is a configuration parameter csm.X with the same name as the service domain, use this configuration parameter,
otherwise use the default configuration parameter.
从请求路径中找到第一个路径段作为服务域名,如果存在与该服务域名同名的配置参数 csm.X, 则使用该配置参数,否则使用默认配置参数.