Module server

Source

Structs§

QueuedServerReply
Represents a reply where all sends are queued up but not sent until after the flush method is called. This reply supports injecting at the front of the queue in order to support sending messages but ensuring that some specific message is sent out first
RequestCtx
Represents contextual information for working with an inbound request.
Server
Represents a server that can be used to receive requests & send responses to clients.
ServerConfig
Represents a general-purpose set of properties tied with a server instance
ServerRef
Represents a reference to a server
ServerReply
Utility to send ad-hoc replies from the server back through the connection
TcpServerBuilder
TcpServerRef
Reference to a TCP server instance.
UnixSocketServerBuilder
UnixSocketServerRef
Reference to a unix socket server instance.

Enums§

Shutdown
Rules for how a server will shut itself down automatically
ShutdownParseError
Parsing errors that can occur for Shutdown

Traits§

Reply
Interface to send a reply to some request
ServerHandler
Interface for a handler that receives connections and requests