package cohttp-lwt

  1. Overview
  2. Docs

Module Cohttp_lwt.Connection_cacheSource

This functor establishes a new connection for each request.

Sourcemodule Make (Connection : S.Connection) (Sleep : S.Sleep) : sig ... end

This functor keeps a cache of connections for reuse. Connections are reused based on their remote Conduit.endp (effectively IP / port).

This functor keeps a cache of connections for reuse. Connections are reused based on their remote Conduit.endp (effectively IP / port). It also supports automatically connecting and reconnecting to direct and tunneling proxies, based on the remote URI scheme (HTTP will select direct proxies, HTTPS tunneling proxies).

OCaml

Innovation. Community. Security.