Click or drag to resize

HttpListenerGetContext Method

Gets an incoming request.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public HttpListenerContext GetContext()

Return Value

Type: HttpListenerContext
A HttpListenerContext that represents a request.
Exceptions
ExceptionCondition
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.
Remarks
This method waits for an incoming request, and returns when a request is received.
See Also