HttpServer Methods |
The HttpServer type exposes the following members.
Name | Description | |
---|---|---|
AddWebSocketServiceTBehaviorWithNew(String) |
Adds a WebSocket service with the specified behavior and
path.
| |
AddWebSocketServiceTBehaviorWithNew(String, ActionTBehaviorWithNew) |
Adds a WebSocket service with the specified behavior,
path, and initializer.
| |
AddWebSocketServiceTBehavior(String, FuncTBehavior) | Obsolete.
Adds a WebSocket service with the specified behavior,
path, and creator.
| |
GetFile | Obsolete.
Gets the contents of the specified file from the document
folder of the server.
| |
RemoveWebSocketService |
Removes a WebSocket service with the specified path.
| |
Start |
Starts receiving incoming requests.
| |
Stop |
Stops receiving incoming requests.
| |
Stop(CloseStatusCode, String) | Obsolete.
Stops receiving incoming requests and closes each connection.
| |
Stop(UInt16, String) | Obsolete.
Stops receiving incoming requests and closes each connection.
|