package shuttle_http

  1. Overview
  2. Docs
Async library for HTTP/1.1 servers and clients

Install

Dune Dependency

Authors

Maintainers

Sources

shuttle-0.9.0.tbz
sha256=fd61626c46dcbd63449746b55e1b0821119e5215c6b32330f9671fbb306812ef
sha512=f06946e9271acd8df613385f7b94facb3d807b031c7eb21fac30886db0f45d8615b6eb71132455008b746513de3590d77890518e0c1a2672f1434cd9c1d97f67

doc/shuttle_http/Shuttle_http/Client/index.html

Module Shuttle_http.ClientSource

Sourcemodule Ssl : sig ... end
Sourceval call : ?interrupt:unit Async.Deferred.t -> ?connect_timeout:Core.Time.Span.t -> ?ssl:Ssl.t -> 'address Async.Tcp.Where_to_connect.t -> Request.t -> Response.t Async.Deferred.Or_error.t

call Performs a one-shot http client call to the user provided connection target. If ssl options are provided the client will attempt to setup a SSL connection. If ssl options contain a hostname then the client will perform hostname verification to ensure the hostnames on the peer's ssl certificate matches the hostname provided by the caller. To disable this check or to customize how the ssl certificate is validated users can provide their own implementation of verify_certificate when creating the ssl options.

OCaml

Innovation. Community. Security.