package async-uri

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val is_tls_url : Uri.t -> bool

is_tls_url url is true iff url is recognized as TLS enabled (https, wss, …).

val connect : ?version:Async_ssl.Version.t -> ?options:Async_ssl.Opt.t list -> ?socket:([ `Unconnected ], Async.Socket.Address.Inet.t) Async.Socket.t -> (Uri.t -> t Async.Deferred.t) Async.Tcp.with_connect_options
val with_connection : ?version:Async_ssl.Version.t -> ?options:Async_ssl.Opt.t list -> (url:Uri.t -> f:(t -> 'a Async.Deferred.t) -> unit -> 'a Async.Deferred.t) Async.Tcp.with_connect_options
module Persistent : Persistent_connection_kernel.S with type conn := t and type address = Uri.t
val listen_ssl : ?version:Async_ssl.Version.t -> ?options:Async_ssl.Opt.t list -> ?name:string -> ?allowed_ciphers:[ `Only of string list | `Openssl_default | `Secure ] -> ?ca_file:string -> ?ca_path:string -> ?verify_modes:Async_ssl.Verify_mode.t list -> crt_file:string -> key_file:string -> ?buffer_age_limit:Async.Writer.buffer_age_limit -> ([< Async.Socket.Address.t ] as 'a, 'listening_on, 'a -> Async_ssl.Std.Ssl.Connection.t -> Async.Reader.t -> Async.Writer.t -> unit Async.Deferred.t) Async.Tcp.Server.create_options
OCaml

Innovation. Community. Security.