HttpServer Methods
The HttpServer type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddWebSocketService<(Of <<'(TBehavior>)>>)(String, Func<(Of <<'(TBehavior>)>>)) |
Adds the WebSocket service with the specified behavior, path,
and initializer.
|
|
AddWebSocketService<(Of <<'(TBehaviorWithNew>)>>)(String) |
Adds a WebSocket service with the specified behavior and path.
|
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetFile |
Gets the contents of the file with the specified path.
|
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RemoveWebSocketService |
Removes the WebSocket service with the specified path.
|
|
Start |
Starts receiving the HTTP requests.
|
|
Stop()()()() |
Stops receiving the HTTP requests.
|
|
Stop(UInt16, String) | ||
Stop(CloseStatusCode, String) |
Stops receiving the HTTP requests with the specified CloseStatusCode and
String used to stop the WebSocket services.
|
|
ToString | (Inherited from Object.) |