ocamlapi

Path-based HTTP request routing for Ocaml
Library ocamlapi
val iter : t -> encoding: ( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> unit ) -> headers: ( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> t -> Cohttp.Header.t -> unit ) -> version: ( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> t -> Cohttp.Code.version -> unit ) -> status: ( ( t, Cohttp.Code.status_code ) Fieldslib.Field.t -> t -> Cohttp.Code.status_code -> unit ) -> flush:( ( t, bool ) Fieldslib.Field.t -> t -> bool -> unit ) -> unit
val fold : t -> init:'acc__0 -> encoding: ( 'acc__0 -> ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> 'acc__1 ) -> headers: ( 'acc__1 -> ( t, Cohttp.Header.t ) Fieldslib.Field.t -> t -> Cohttp.Header.t -> 'acc__2 ) -> version: ( 'acc__2 -> ( t, Cohttp.Code.version ) Fieldslib.Field.t -> t -> Cohttp.Code.version -> 'acc__3 ) -> status: ( 'acc__3 -> ( t, Cohttp.Code.status_code ) Fieldslib.Field.t -> t -> Cohttp.Code.status_code -> 'acc__4 ) -> flush:( 'acc__4 -> ( t, bool ) Fieldslib.Field.t -> t -> bool -> 'acc__5 ) -> 'acc__5
val for_all : t -> encoding: ( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> bool ) -> headers: ( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> t -> Cohttp.Header.t -> bool ) -> version: ( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> t -> Cohttp.Code.version -> bool ) -> status: ( ( t, Cohttp.Code.status_code ) Fieldslib.Field.t -> t -> Cohttp.Code.status_code -> bool ) -> flush:( ( t, bool ) Fieldslib.Field.t -> t -> bool -> bool ) -> bool
val exists : t -> encoding: ( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> bool ) -> headers: ( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> t -> Cohttp.Header.t -> bool ) -> version: ( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> t -> Cohttp.Code.version -> bool ) -> status: ( ( t, Cohttp.Code.status_code ) Fieldslib.Field.t -> t -> Cohttp.Code.status_code -> bool ) -> flush:( ( t, bool ) Fieldslib.Field.t -> t -> bool -> bool ) -> bool
val to_list : t -> encoding: ( ( t, Cohttp.Transfer.encoding ) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> 'elem__ ) -> headers: ( ( t, Cohttp.Header.t ) Fieldslib.Field.t -> t -> Cohttp.Header.t -> 'elem__ ) -> version: ( ( t, Cohttp.Code.version ) Fieldslib.Field.t -> t -> Cohttp.Code.version -> 'elem__ ) -> status: ( ( t, Cohttp.Code.status_code ) Fieldslib.Field.t -> t -> Cohttp.Code.status_code -> 'elem__ ) -> flush:( ( t, bool ) Fieldslib.Field.t -> t -> bool -> 'elem__ ) -> 'elem__ list
val set_all_mutable_fields : t -> unit