Module web

Source
Expand description

basic web service

Modules§

extract
Extract utilities to develop endpoint services efortless.
k8s
k8s web service

Macros§

match_service
Create a new Service from a chain of matcher-service tuples.

Structs§

Router
A basic router that can be used to route requests to different services based on the request path.
StaticService
A static Service that serves a pre-defined response.
WebService
A basic web service that can be used to serve HTTP requests.

Traits§

EndpointServiceFn
rama_core::Service implemented for functions taking extractors.
IntoEndpointService
utility trait to accept multiple types as an endpoint service for super::WebService

Functions§

k8s_health
create a default k8s web health service
k8s_health_builder
create a k8s web health service builder