package mechaml

  1. Overview
  2. Docs

The HttpResponse module defines a type and operations to extract content and metadata from server response

type t
val status : t -> http_status_code
val status_code : t -> int
val headers : t -> http_headers
val content : t -> string
val page : t -> Page.t
val location : t -> Uri.t
val cohttp_response : t -> Cohttp.Response.t
OCaml

Innovation. Community. Security.