Skip to main content

Module net

Module net 

Source
Expand description

WebSockets the host holds for the plugin (daemon-net). Grant: socket.connect:<host>:<port> for each server (wss:// only). News arrives as crate::Event::Plugin named net::WEBSOCKET_EVENT; net::SocketEvent::from_event reads it.

Structs§

WebSocket
An open (or opening) WebSocket.

Enums§

SocketEvent
What happened to a socket.

Constants§

WEBSOCKET_EVENT
The plugin event a socket’s news arrives as.