package cohttp

  1. Overview
  2. Docs

HTTP client for JavaScript using XMLHttpRequest.

module type Params = sig ... end

Configuration parameters for the XmlHttpRequest engines

Build an asynchronous engine with chunked/unchucked response data treated as raw bytes or UTF

Build a synchronous engine with chunked/unchucked response data treated as raw bytes or UTF

The Client module implements an HTTP client interface using asynchronous XmlHttpRequests. The response body is returned in chucked form with 128Kb / chunk. Body data is treated as raw bytes

The Client_sync module implements an HTTP client interface using synchronous XmlHttpRequests. The response is not chunked and treated as raw bytes.

OCaml

Innovation. Community. Security.