package cohttp

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

Innovation. Community. Security.