package cohttp-async

  1. Overview
  2. Docs
include Cohttp.S.Request with type t = Cohttp.Request.t
type t = Cohttp.Request.t = {
  1. headers : Cohttp__.Header.t;
  2. meth : Cohttp__.Code.meth;
  3. scheme : string option;
  4. resource : string;
  5. version : Cohttp__.Code.version;
  6. encoding : Cohttp__.Transfer.encoding;
}
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val headers : t -> Cohttp__.Header.t
val meth : t -> Cohttp__.Code.meth
val scheme : t -> string option
val resource : t -> string
val version : t -> Cohttp__.Code.version
val encoding : t -> Cohttp__.Transfer.encoding
val compare : t -> t -> int
val make : ?meth:Cohttp__.Code.meth -> ?version:Cohttp__.Code.version -> ?encoding:Cohttp__.Transfer.encoding -> ?headers:Cohttp__.Header.t -> Uri.t -> t
val is_keep_alive : t -> bool
val uri : t -> Uri.t
val make_for_client : ?headers:Cohttp__.Header.t -> ?chunked:bool -> ?body_length:int64 -> Cohttp__.Code.meth -> Uri.t -> t
OCaml

Innovation. Community. Security.