package cohttp-lwt

  1. Overview
  2. Docs

Module Connection_cache.Make_no_cacheSource

This functor establishes a new connection for each request.

Parameters

Signature

include S.Connection_cache
Sourcetype t
Sourceval call : t -> S.call

Process a request. Please see call.

Sourceval create : ?ctx:Connection.Net.ctx -> unit -> t

create ?ctx () creates a connection for handling a single request. The connection accepts only a single request and will automatically be closed as soon as possible.

OCaml

Innovation. Community. Security.