HttpListener..::..GetContext Method
Gets an incoming request.
Namespace:
WebSocketSharp.NetAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public HttpListenerContext GetContext()
Public Function GetContext As HttpListenerContext
public: HttpListenerContext^ GetContext()
Return Value
A HttpListenerContext that represents a request.Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This listener has no URI prefix on which listens. -or- This listener hasn't been started, or is currently stopped. |
ObjectDisposedException | This listener has been closed. |