[][src]Type Definition conjure_http::server::Handler

type Handler<T, B, R, O> = fn(service: &T, path_params: &PathParams, query_params: &QueryParams, headers: &HeaderMap, body: B, response_visitor: R) -> Result<O, Error>;

A type definition for the endpoint handler function pointer type.