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
HttpServiceFactorythat simply clones the given service for each new connection.
Functions§
- service_
clone_ factory - Create a
ServiceCloneFactoryfrom a given service.
Structs§
- FnHttp
Service - A
HttpServicethat is created from a function.
Functions§
- fn_
http_ service - Create a
FnHttpServicefrom a given function.
Structs§
- FnHttp
Service Factory - A
HttpServiceFactorythat creates aFnHttpServicefrom a function.
Functions§
- fn_
http_ service_ factory - Create a
FnHttpServiceFactoryfrom a given function.
Structs§
- Tower
Make Service Factory tower - A
HttpServiceFactorythat wraps atower::MakeService. The giventower::MakeServicewill be called to create a new service for each new connection.
Functions§
- custom_
tower_ make_ service_ factory tower - Create a
TowerMakeServiceFactoryfrom a giventower::MakeServiceandtargetvalue. - tower_
make_ service_ factory tower - Create a
TowerMakeServiceFactoryfrom a giventower::MakeService.
Structs§
- Tower
Make Service With Addr Factory tower - A
HttpServiceFactorythat wraps atower::MakeServicethat takes aSocketAddras input.
Functions§
- tower_
make_ service_ with_ addr_ factory tower - Create a
TowerMakeServiceWithAddrFactoryfrom a giventower::MakeService.