Module Quests.Request

Various types to do with HTTP requests.

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

Represents data about a request.

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

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

type authentication =
| Basic of string * string
| Bearer of string

Represents supported authentication methods.