We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f129b2 commit cbab478Copy full SHA for cbab478
src/lwt_ssl.mli
@@ -58,8 +58,8 @@ val ssl_perform_handshake : uninitialized_socket -> socket Lwt.t
58
val ssl_accept_handshake : uninitialized_socket -> socket Lwt.t
59
(** Await a SSL/TLS handshake on the specified socket (used by servers). *)
60
61
-val read : socket -> string -> int -> int -> int Lwt.t
62
-val write : socket -> string -> int -> int -> int Lwt.t
+val read : socket -> bytes -> int -> int -> int Lwt.t
+val write : socket -> bytes -> int -> int -> int Lwt.t
63
64
val read_bytes : socket -> Lwt_bytes.t -> int -> int -> int Lwt.t
65
val write_bytes : socket -> Lwt_bytes.t -> int -> int -> int Lwt.t
0 commit comments