Module gio

Source
Expand description

gio integration.

Structs§

IOStreamAsyncReadWrite
Adapter for gio::IOStream to provide AsyncRead and AsyncWrite.

Functions§

accept_async
Accepts a new WebSocket connection with the provided stream.
accept_async_with_config
The same as accept_async() but the one can specify a websocket configuration. Please refer to accept_async() for more details.
accept_hdr_async
Accepts a new WebSocket connection with the provided stream.
accept_hdr_async_with_config
The same as accept_hdr_async() but the one can specify a websocket configuration. Please refer to accept_hdr_async() for more details.
connect_async
Connect to a given URL.
connect_async_with_config
Connect to a given URL with a given WebSocket configuration.

Type Aliases§

ConnectStream
Type alias for the stream type of the connect_async() functions.