package cohttp-curl

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Private.RequestSource

Sourcetype 'a t
Sourceval curl : _ t -> Curl.t
Sourceval body : 'a t -> 'a

body t this must be called after curl completes the requests. it can only be called once

Sourceval create : ?timeout_ms:int -> ?headers:Http.Header.t -> Http.Method.t -> uri:string -> input:Source.t -> output:'a Sink.t -> on_response:(Http.Response.t -> unit) -> 'a t
OCaml

Innovation. Community. Security.