Crate ntex_service
source · [−]Modules
Structs
Identity is a transform.
Pipeline service - pipeline allows to compose multiple service into one service.
Pipeline factory
Traits
Trait for types that can be converted to a Service
Trait for types that can be converted to a ServiceFactory
An asynchronous function from Request
to a Response
.
Creates new Service
values.
The Transform
trait defines the interface of a service factory that wraps inner service
during construction.
Functions
Apply transform to a service.
Apply tranform function to a service.
Service factory that prodices apply_fn
service.
Create ServiceFactory
for function that can produce services
Create ServiceFactory
for function that accepts config argument and can produce services
Create ServiceFactory
for function that can act as a Service
Convert object of type T
to a service S
Adapt external config argument to a config for provided service factory
Adapt external config argument to a config for provided service factory
Contruct new pipeline with one service in pipeline chain.
Contruct new pipeline factory with one service factory.
Replace config with unit