package eio
Effect-based direct-style IO API for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
eio-1.0.tbz
sha256=da260d9da38b3dde9f316652a20b13a261cf90b85a2498ac669b7d564e61942d
sha512=5886e1159f48ede237769baa1d8b5daafa0310e4192d7fe0e8c32aef70f2b6378cef72d0fbae308457e25d87a69802b9ee83a5e8f23e0591d83086a92d701c46
doc/eio.mock/Eio_mock/Net/index.html
Module Eio_mock.Net
Source
Mock Eio.Net
networks and sockets.
on_connect t actions
configures what to do when a client tries to connect somewhere.
on_listen t actions
configures what to do when a server starts listening for incoming connections.
on_datagram_socket t actions
configures how to create datagram sockets.
listening_socket label
can be configured to provide mock connections.
If listening_addr
is not provided, a dummy value will be reported.
Source
val on_accept :
listening_socket ->
(Flow.t * Eio.Net.Sockaddr.stream) Handler.actions ->
unit
on_accept socket actions
configures how to respond when the server calls "accept".
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>