package cohttp

  1. Overview
  2. Docs
val iter : t -> encoding: ((t, Transfer.encoding) Fieldslib.Field.t -> t -> Transfer.encoding -> unit) -> headers:((t, Header.t) Fieldslib.Field.t -> t -> Header.t -> unit) -> version:((t, Code.version) Fieldslib.Field.t -> t -> Code.version -> unit) -> status: ((t, Code.status_code) Fieldslib.Field.t -> t -> Code.status_code -> unit) -> flush:((t, bool) Fieldslib.Field.t -> t -> bool -> unit) -> unit
val fold : t -> init:'acc__0 -> encoding: ('acc__0 -> (t, Transfer.encoding) Fieldslib.Field.t -> t -> Transfer.encoding -> 'acc__1) -> headers: ('acc__1 -> (t, Header.t) Fieldslib.Field.t -> t -> Header.t -> 'acc__2) -> version: ('acc__2 -> (t, Code.version) Fieldslib.Field.t -> t -> Code.version -> 'acc__3) -> status: ('acc__3 -> (t, Code.status_code) Fieldslib.Field.t -> t -> 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, Transfer.encoding) Fieldslib.Field.t -> t -> Transfer.encoding -> bool) -> headers:((t, Header.t) Fieldslib.Field.t -> t -> Header.t -> bool) -> version:((t, Code.version) Fieldslib.Field.t -> t -> Code.version -> bool) -> status: ((t, Code.status_code) Fieldslib.Field.t -> t -> Code.status_code -> bool) -> flush:((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> bool
val exists : t -> encoding: ((t, Transfer.encoding) Fieldslib.Field.t -> t -> Transfer.encoding -> bool) -> headers:((t, Header.t) Fieldslib.Field.t -> t -> Header.t -> bool) -> version:((t, Code.version) Fieldslib.Field.t -> t -> Code.version -> bool) -> status: ((t, Code.status_code) Fieldslib.Field.t -> t -> Code.status_code -> bool) -> flush:((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> bool
val to_list : t -> encoding: ((t, Transfer.encoding) Fieldslib.Field.t -> t -> Transfer.encoding -> 'elem__) -> headers:((t, Header.t) Fieldslib.Field.t -> t -> Header.t -> 'elem__) -> version:((t, Code.version) Fieldslib.Field.t -> t -> Code.version -> 'elem__) -> status: ((t, Code.status_code) Fieldslib.Field.t -> t -> Code.status_code -> 'elem__) -> flush:((t, bool) Fieldslib.Field.t -> t -> bool -> 'elem__) -> 'elem__ list
val map : t -> encoding: ((t, Transfer.encoding) Fieldslib.Field.t -> t -> Transfer.encoding -> Transfer.encoding) -> headers:((t, Header.t) Fieldslib.Field.t -> t -> Header.t -> Header.t) -> version: ((t, Code.version) Fieldslib.Field.t -> t -> Code.version -> Code.version) -> status: ((t, Code.status_code) Fieldslib.Field.t -> t -> Code.status_code -> Code.status_code) -> flush:((t, bool) Fieldslib.Field.t -> t -> bool -> bool) -> t
val set_all_mutable_fields : t -> unit
OCaml

Innovation. Community. Security.