package riot
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'kind socket = Fd.t
type listen_socket = [ `listen ] socket
type stream_socket = [ `stream ] socket
val listen :
?opts:listen_opts ->
port:int ->
unit ->
(listen_socket, [> `System_limit ]) IO.result
val connect : Addr.stream_addr -> (stream_socket, [> `Closed ]) IO.result
val accept :
?timeout:timeout ->
listen_socket ->
(stream_socket * Addr.stream_addr, [> `Closed | `Timeout | `System_limit ])
IO.result
val close : _ socket -> unit
val receive :
?timeout:timeout ->
buf:IO.Buffer.t ->
stream_socket ->
(int, [> `Closed | `Timeout ]) IO.result
val send : data:IO.Buffer.t -> stream_socket -> (int, [> `Closed ]) IO.result
val pp : Format.formatter -> _ socket -> unit
val pp_err :
Format.formatter ->
[ IO.unix_error | `Closed | `Timeout | `System_limit ] ->
unit
val to_reader : stream_socket -> stream_socket IO.Reader.t
val to_writer : stream_socket -> stream_socket IO.Writer.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>