package lwt_ssl
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OpenSSL binding with concurrent I/O
Install
dune-project
Dependency
Authors
Maintainers
Sources
lwt_ssl-1.2.0.tbz
sha256=b3020ad27aecf377e1c3f2740a08b36dcbba991f843066511357410548889a77
sha512=cf2ef7d4db26e40c044e743ce85849a10eb57c916cbd7d6291bf4458291689098293bfb4cd7f1023f3ae8bc8e9a68cb2c7470669501a9b44695659405a75aa00
doc/lwt_ssl/Lwt_ssl/index.html
Module Lwt_ssl
OCaml-SSL integration
This module is provided by OPAM package lwt_ssl. Link with ocamlfind package lwt_ssl.
val ssl_socket : socket -> Ssl.socket optionReturns the underlying SSL socket used for this wrapper. If it is a plain socket it returns None.
val ssl_socket_of_uninitialized_socket : uninitialized_socket -> Ssl.socketReturns the underlying SSL socket used for this wrapper.
val is_ssl : socket -> boolAre we using an SSL socket?
val ssl_accept : Lwt_unix.file_descr -> Ssl.context -> socket Lwt.tval ssl_connect : Lwt_unix.file_descr -> Ssl.context -> socket Lwt.tval plain : Lwt_unix.file_descr -> socketval embed_socket : Lwt_unix.file_descr -> Ssl.context -> socketval embed_uninitialized_socket :
Lwt_unix.file_descr ->
Ssl.context ->
uninitialized_socketval ssl_perform_handshake : uninitialized_socket -> socket Lwt.tInitiate a SSL/TLS handshake on the specified socket (used by clients).
val ssl_accept_handshake : uninitialized_socket -> socket Lwt.tAwait a SSL/TLS handshake on the specified socket (used by servers).
val read : socket -> bytes -> int -> int -> int Lwt.tval write : socket -> bytes -> int -> int -> int Lwt.tval read_bytes : socket -> Lwt_bytes.t -> int -> int -> int Lwt.tval write_bytes : socket -> Lwt_bytes.t -> int -> int -> int Lwt.tval wait_read : socket -> unit Lwt.tval wait_write : socket -> unit Lwt.tval shutdown : socket -> Unix.shutdown_command -> unitval close : socket -> unit Lwt.tval in_channel_of_descr : ?buffer:Lwt_bytes.t -> socket -> Lwt_io.input_channelval out_channel_of_descr :
?buffer:Lwt_bytes.t ->
socket ->
Lwt_io.output_channelval close_notify : socket -> bool Lwt.tval ssl_shutdown : socket -> unit Lwt.tval abort : socket -> exn -> unitval get_fd : socket -> Lwt_unix.file_descrval get_unix_fd : socket -> Unix.file_descrval getsockname : socket -> Unix.sockaddrval getpeername : socket -> Unix.sockaddr sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>