package async-uri
Open Async (TLS) TCP connections with Uri.t
Install
Dune Dependency
Authors
Maintainers
Sources
async-uri-0.4.0.tbz
sha256=402f5a7f03754bf68d136c6dc2d2116dcb20491faf2989e5fe402a415e001f9a
sha512=68774b5220f45a3435195e5a77b149a1e1347b1c432b70b4b427218320786f355b81a47bc340da98f472f36198eb73a1f5578c480b04e373c8e20d8643b3e23a
doc/async-uri/Async_uri/index.html
Module Async_uri
Source
Source
type t = {
s : ([ `Active ], Async.Socket.Address.Inet.t) Async.Socket.t;
ssl : Async_ssl.Std.Ssl.Connection.t option;
r : Async.Reader.t;
w : Async.Writer.t;
}
Source
val connect :
?version:Async_ssl.Version.t ->
?options:Async_ssl.Opt.t list ->
?socket:([ `Unconnected ], Async.Socket.Address.Inet.t) Async.Socket.t ->
?buffer_age_limit:[ `At_most of Core.Time_float.Span.t | `Unlimited ] ->
?interrupt:unit Async.Deferred.t ->
?reader_buffer_size:int ->
?writer_buffer_size:int ->
?timeout:Core.Time_float.Span.t ->
?time_source:Async.Time_source.t ->
Uri.t ->
t Async.Deferred.t
Source
val with_connection :
?version:Async_ssl.Version.t ->
?options:Async_ssl.Opt.t list ->
?buffer_age_limit:[ `At_most of Core.Time_float.Span.t | `Unlimited ] ->
?interrupt:unit Async.Deferred.t ->
?reader_buffer_size:int ->
?writer_buffer_size:int ->
?timeout:Core.Time_float.Span.t ->
?time_source:Async.Time_source.t ->
Uri.t ->
(t -> 'a Async.Deferred.t) ->
'a Async.Deferred.t
Source
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 ->
?max_connections:int ->
?max_accepts_per_batch:int ->
?backlog:int ->
?socket:([ `Unconnected ], [< Async.Socket.Address.t ] as 'a) Async.Socket.t ->
on_handler_error:[ `Call of 'a -> exn -> unit | `Ignore | `Raise ] ->
('a, 'b) Async.Tcp.Where_to_listen.t ->
('a ->
Async_ssl.Std.Ssl.Connection.t ->
Async.Reader.t ->
Async.Writer.t ->
unit Async.Deferred.t) ->
('a, 'b) Async.Tcp.Server.t Async.Deferred.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>