EmbeddedServer Methods
The EmbeddedServer type exposes the following members.
Methods
Name | Description | |
---|---|---|
Accept |
Accepts the given pending connection.
|
|
ChangeTransport |
Stops the server if it's running and swaps out the transport it's using.
|
|
DisconnectClient(UInt16, EmbeddedMessage) |
Disconnects a specific client.
|
|
DisconnectClient(EmbeddedConnection, EmbeddedMessage) |
Disconnects the given client.
|
|
Reject(EmbeddedConnection, EmbeddedMessage) |
Rejects the given pending connection.
|
|
Send(EmbeddedMessage, UInt16, Boolean) |
Sends a message to a given client.
|
|
Send(EmbeddedMessage, EmbeddedConnection, Boolean) |
Sends a message to a given client.
|
|
SendToAll(EmbeddedMessage, Boolean) |
Sends a message to all connected clients.
|
|
SendToAll(EmbeddedMessage, UInt16, Boolean) |
Sends a message to all connected clients except the given one.
|
|
Start(UInt16, UInt16, Byte, Boolean) |
Starts the server.
|
|
Start(String, UInt16, UInt16, Byte, Boolean) |
Starts the server.
|
|
Stop |
Stops the server.
|
|
TryGetClient |
Retrieves the client with the given ID, if a client with that ID is currently connected.
|
|
Update |
Handles any received messages and invokes any delayed events which need to be invoked.
|