ocamlapi

Path-based HTTP request routing for Ocaml
Library ocamlapi
val names : string list
val resource : ( t, string ) Fieldslib.Field.t
val fold : init:'acc__0 -> headers:( 'acc__0 -> ( t, Cohttp.Header.t ) Fieldslib.Field.t -> 'acc__1 ) -> meth:( 'acc__1 -> ( t, Cohttp.Code.meth ) Fieldslib.Field.t -> 'acc__2 ) -> resource:( 'acc__2 -> ( t, string ) Fieldslib.Field.t -> 'acc__3 ) -> version: ( 'acc__3 -> ( t, Cohttp.Code.version ) Fieldslib.Field.t -> 'acc__4 ) -> encoding: ( 'acc__4 -> ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> 'acc__5 ) -> 'acc__5
val make_creator : headers: ( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> 'acc__0 -> ( 'input__ -> Cohttp.Header.t ) * 'acc__1 ) -> meth: ( ( t, Cohttp.Code.meth ) Fieldslib.Field.t -> 'acc__1 -> ( 'input__ -> Cohttp.Code.meth ) * 'acc__2 ) -> resource: ( ( t, string ) Fieldslib.Field.t -> 'acc__2 -> ( 'input__ -> string ) * 'acc__3 ) -> version: ( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> 'acc__3 -> ( 'input__ -> Cohttp.Code.version ) * 'acc__4 ) -> encoding: ( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> 'acc__4 -> ( 'input__ -> Cohttp.Transfer.encoding ) * 'acc__5 ) -> 'acc__0 -> ( 'input__ -> t ) * 'acc__5
val create : headers:Cohttp.Header.t -> meth:Cohttp.Code.meth -> resource:string -> version:Cohttp.Code.version -> encoding:Cohttp.Transfer.encoding -> t
val iter : headers:( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> unit ) -> meth:( ( t, Cohttp.Code.meth ) Fieldslib.Field.t -> unit ) -> resource:( ( t, string ) Fieldslib.Field.t -> unit ) -> version:( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> unit ) -> encoding:( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> unit ) -> unit
val for_all : headers:( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> bool ) -> meth:( ( t, Cohttp.Code.meth ) Fieldslib.Field.t -> bool ) -> resource:( ( t, string ) Fieldslib.Field.t -> bool ) -> version:( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> bool ) -> encoding:( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> bool ) -> bool
val exists : headers:( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> bool ) -> meth:( ( t, Cohttp.Code.meth ) Fieldslib.Field.t -> bool ) -> resource:( ( t, string ) Fieldslib.Field.t -> bool ) -> version:( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> bool ) -> encoding:( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> bool ) -> bool
val to_list : headers:( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> 'elem__ ) -> meth:( ( t, Cohttp.Code.meth ) Fieldslib.Field.t -> 'elem__ ) -> resource:( ( t, string ) Fieldslib.Field.t -> 'elem__ ) -> version:( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> 'elem__ ) -> encoding:( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> 'elem__ ) -> 'elem__ list
val map_poly : ( [< `Read | `Set_and_create ], t, 'x0 ) Fieldslib.Field.user -> 'x0 list
module Direct : sig ... end