Click or drag to resize

HttpListener Class

Provides a simple, programmatically controlled HTTP listener.
Inheritance Hierarchy
SystemObject
  Sfs2X.WebSocketSharp.NetHttpListener

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public sealed class HttpListener : IDisposable

The HttpListener type exposes the following members.

Constructors
  NameDescription
Public methodHttpListener
Initializes a new instance of the HttpListener class.
Top
Properties
  NameDescription
Public propertyAuthenticationSchemes
Gets or sets the scheme used to authenticate the clients.
Public propertyAuthenticationSchemeSelector
Gets or sets the delegate called to select the scheme used to authenticate the clients.
Public propertyCertificateFolderPath
Gets or sets the path to the folder in which stores the certificate files used to authenticate the server on the secure connection.
Public propertyIgnoreWriteExceptions
Gets or sets a value indicating whether the listener returns exceptions that occur when sending the response to the client.
Public propertyIsListening
Gets a value indicating whether the listener has been started.
Public propertyStatic memberIsSupported
Gets a value indicating whether the listener can be used with the current operating system.
Public propertyLog
Gets the logging functions.
Public propertyPrefixes
Gets the URI prefixes handled by the listener.
Public propertyRealm
Gets or sets the name of the realm associated with the listener.
Public propertySslConfiguration
Gets or sets the SSL configuration used to authenticate the server and optionally the client for secure connection.
Public propertyUnsafeConnectionNtlmAuthentication
Gets or sets a value indicating whether, when NTLM authentication is used, the authentication information of first request is used to authenticate additional requests on the same connection.
Public propertyUserCredentialsFinder
Gets or sets the delegate called to find the credentials for an identity used to authenticate a client.
Top
Methods
  NameDescription
Public methodAbort
Shuts down the listener immediately.
Public methodBeginGetContext
Begins getting an incoming request asynchronously.
Public methodClose
Shuts down the listener.
Public methodEndGetContext
Ends an asynchronous operation to get an incoming request.
Public methodGetContext
Gets an incoming request.
Public methodStart
Starts receiving incoming requests.
Public methodStop
Stops receiving incoming requests.
Top
See Also