C-DEngine 5.105

HttpServer Methods

The HttpServer type exposes the following members.

Methods


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