Module Req.Allow

Method constraints.

type req = t

See Req.t.

type 'a t = Http.meth * 'a

The type for method constraints.

val meths : 'a t list -> req -> ('aResp.t) Stdlib.result

allow ms r is:

Constraints

val connect : [> `CONNECT ] t
val delete : [> `DELETE ] t
val get : [> `GET ] t
val head : [> `HEAD ] t
val options : [> `OPTIONS ] t
val other : string -> 'a -> 'a t
val patch : [> `PATCH ] t
val post : [> `POST ] t
val put : [> `PUT ] t
val trace : [> `TRACE ] t