package cohttp-async

  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 map : t -> headers: ((t, Cohttp__.Header.t) Fieldslib.Field.t -> t -> Cohttp__.Header.t -> Cohttp__.Header.t) -> meth: ((t, Cohttp__.Code.meth) Fieldslib.Field.t -> t -> Cohttp__.Code.meth -> Cohttp__.Code.meth) -> resource:((t, string) Fieldslib.Field.t -> t -> string -> string) -> version: ((t, Cohttp__.Code.version) Fieldslib.Field.t -> t -> Cohttp__.Code.version -> Cohttp__.Code.version) -> encoding: ((t, Cohttp__.Transfer.encoding) Fieldslib.Field.t -> t -> Cohttp__.Transfer.encoding -> Cohttp__.Transfer.encoding) -> t
val set_all_mutable_fields : t -> unit
OCaml

Innovation. Community. Security.