Skip to main content

ok_service

Function ok_service 

Source
pub fn ok_service<St: State, In>() -> impl Service<St, WebRequest<In>, Res = WebResponse, Error = Infallible>
Expand description

Create service that always responds with HttpResponse::Ok()