package cohttp

  1. Overview
  2. Docs
module IO : IO.S
type t = r
val meth : t -> Code.meth
val uri : t -> Uri.t
val version : t -> Code.version
val path : t -> string
val header : t -> string -> string option
val headers : t -> Header.t
val params : t -> (string * string list) list
val get_param : t -> string -> string option
val transfer_encoding : t -> string
val read : IO.ic -> t option IO.t
val has_body : t -> bool
val read_body_chunk : t -> IO.ic -> Transfer.chunk IO.t
val write_header : t -> IO.oc -> unit IO.t
val write_body : t -> IO.oc -> string -> unit IO.t
val write : (t -> IO.oc -> unit IO.t) -> t -> IO.oc -> unit IO.t
val is_form : t -> bool
val read_form : t -> IO.ic -> (string * string list) list IO.t
val make : ?meth:Code.meth -> ?version:Code.version -> ?encoding:Transfer.encoding -> ?headers:Header.t -> Uri.t -> r
OCaml

Innovation. Community. Security.