Module web

Module web 

Expand description

basic web service

Modules§

extract
Extract utilities to develop endpoint services efortless.
k8s
k8s web service
response
Types and traits for generating responses.

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
IntoEndpointServiceWithState

Functions§

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