Server.Service
module Config : sig ... end
type ('ctx, 'resp) t = 'ctx Request.t -> 'resp Lwt.t
A service is an asynchronous function from a request to a response.
type 'ctx all = ('ctx, [ Response.http | Response.websocket ]) t
A type modelling services with an intersection of all response types. This type is most useful for services which set response headers, or come after filters which set response headers.