pub trait EndpointHandler<T>: Sync + Send {
    fn handle_request(&self, req: &Request, arg: &T) -> Response;
}
Expand description

An HTTP endpoint handler interface

Required Methods

Handles an HTTP request.

Implementors