package quests

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Various types to do with HTTP requests.

type t = {
  1. url : string;
  2. headers : Cohttp.Header.t;
}

Represents data about a request.

val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
type payload =
  1. | Json of Yojson.t
  2. | Form of (string * string) list
  3. | Raw of string

Represents the kind of payloads that can be used in queries.

type authentication =
  1. | Basic of string * string
  2. | Bearer of string

Represents supported authentication methods.

OCaml

Innovation. Community. Security.