Expand description
HTTP service and service factory traits.
Traits§
- Http
Service - A trait representing an HTTP service.
- Http
Service Factory - A trait representing an HTTP service factory.
Structs§
- Service
Clone Factory - A
HttpServiceFactory
that simply clones the given service for each new connection.
Functions§
- service_
clone_ factory - Create a
ServiceCloneFactory
from a given service.
Structs§
- FnHttp
Service - A
HttpService
that is created from a function.
Functions§
- fn_
http_ service - Create a
FnHttpService
from a given function.
Structs§
- FnHttp
Service Factory - A
HttpServiceFactory
that creates aFnHttpService
from a function.
Functions§
- fn_
http_ service_ factory - Create a
FnHttpServiceFactory
from a given function.
Structs§
- Tower
Make Service Factory tower
- A
HttpServiceFactory
that wraps atower::MakeService
. The giventower::MakeService
will be called to create a new service for each new connection.
Functions§
- custom_
tower_ make_ service_ factory tower
- Create a
TowerMakeServiceFactory
from a giventower::MakeService
andtarget
value. - tower_
make_ service_ factory tower
- Create a
TowerMakeServiceFactory
from a giventower::MakeService
.
Structs§
- Tower
Make Service With Addr Factory tower
- A
HttpServiceFactory
that wraps atower::MakeService
that takes aSocketAddr
as input.
Functions§
- tower_
make_ service_ with_ addr_ factory tower
- Create a
TowerMakeServiceWithAddrFactory
from a giventower::MakeService
.