package tiny_httpd

  1. Overview
  2. Docs

A middleware that only considers the request's head+headers.

These middlewares are simpler than full Middleware.t and work in more contexts.

  • since 0.17
type t = {
  1. handle : 'a. 'a Request.t -> 'a Request.t;
}

A handler that takes the request, without its body, and possibly modifies it.

  • since 0.17
val trivial : t

Pass through

val to_middleware : t -> Middleware.t
OCaml

Innovation. Community. Security.