package ocamlapi

  1. Overview
  2. Docs
val iter : t -> headers: ((t, Cohttp.Header.t) Fieldslib.Field.t -> t -> Cohttp.Header.t -> unit) -> meth: ((t, Cohttp.Code.meth) Fieldslib.Field.t -> t -> Cohttp.Code.meth -> unit) -> resource:((t, string) Fieldslib.Field.t -> t -> string -> unit) -> version: ((t, Cohttp.Code.version) Fieldslib.Field.t -> t -> Cohttp.Code.version -> unit) -> encoding: ((t, Cohttp.Transfer.encoding) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> unit) -> unit
val fold : t -> init:'acc__0 -> headers: ('acc__0 -> (t, Cohttp.Header.t) Fieldslib.Field.t -> t -> Cohttp.Header.t -> 'acc__1) -> meth: ('acc__1 -> (t, Cohttp.Code.meth) Fieldslib.Field.t -> t -> Cohttp.Code.meth -> 'acc__2) -> resource:('acc__2 -> (t, string) Fieldslib.Field.t -> t -> string -> 'acc__3) -> version: ('acc__3 -> (t, Cohttp.Code.version) Fieldslib.Field.t -> t -> Cohttp.Code.version -> 'acc__4) -> encoding: ('acc__4 -> (t, Cohttp.Transfer.encoding) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> 'acc__5) -> 'acc__5
val for_all : t -> headers: ((t, Cohttp.Header.t) Fieldslib.Field.t -> t -> Cohttp.Header.t -> bool) -> meth: ((t, Cohttp.Code.meth) Fieldslib.Field.t -> t -> Cohttp.Code.meth -> bool) -> resource:((t, string) Fieldslib.Field.t -> t -> string -> bool) -> version: ((t, Cohttp.Code.version) Fieldslib.Field.t -> t -> Cohttp.Code.version -> bool) -> encoding: ((t, Cohttp.Transfer.encoding) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> bool) -> bool
val exists : t -> headers: ((t, Cohttp.Header.t) Fieldslib.Field.t -> t -> Cohttp.Header.t -> bool) -> meth: ((t, Cohttp.Code.meth) Fieldslib.Field.t -> t -> Cohttp.Code.meth -> bool) -> resource:((t, string) Fieldslib.Field.t -> t -> string -> bool) -> version: ((t, Cohttp.Code.version) Fieldslib.Field.t -> t -> Cohttp.Code.version -> bool) -> encoding: ((t, Cohttp.Transfer.encoding) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> bool) -> bool
val to_list : t -> headers: ((t, Cohttp.Header.t) Fieldslib.Field.t -> t -> Cohttp.Header.t -> 'elem__) -> meth: ((t, Cohttp.Code.meth) Fieldslib.Field.t -> t -> Cohttp.Code.meth -> 'elem__) -> resource:((t, string) Fieldslib.Field.t -> t -> string -> 'elem__) -> version: ((t, Cohttp.Code.version) Fieldslib.Field.t -> t -> Cohttp.Code.version -> 'elem__) -> encoding: ((t, Cohttp.Transfer.encoding) Fieldslib.Field.t -> t -> Cohttp.Transfer.encoding -> 'elem__) -> 'elem__ list
val set_all_mutable_fields : t -> unit
OCaml

Innovation. Community. Security.