C# Class System.Net.HttpListenerContext

Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
Abort void
AcceptWebSocketAsync Task
CancelRequest void
Close void
ForceCancelRequest void
GetKnownMethod Interop.HttpApi.HTTP_VERB
HttpListenerContext System.Security.Principal
SetAuthenticationHeaders void
SetIdentity void

Public Methods

Method Description
AcceptWebSocketAsync ( string subProtocol ) : Task
AcceptWebSocketAsync ( string subProtocol, System.TimeSpan keepAliveInterval ) : Task
AcceptWebSocketAsync ( string subProtocol, int receiveBufferSize, System.TimeSpan keepAliveInterval ) : Task

Private Methods

Method Description
Abort ( ) : void
AcceptWebSocketAsync ( string subProtocol, int receiveBufferSize, System.TimeSpan keepAliveInterval, ArraySegment internalBuffer ) : Task
CancelRequest ( SafeHandle requestQueueHandle, ulong requestId ) : void
Close ( ) : void
ForceCancelRequest ( SafeHandle requestQueueHandle, ulong requestId ) : void
GetKnownMethod ( ) : Interop.HttpApi.HTTP_VERB
HttpListenerContext ( HttpListener httpListener, RequestContextBase memoryBlob ) : System.Security.Principal
SetAuthenticationHeaders ( ) : void
SetIdentity ( IPrincipal principal, string mutualAuthentication ) : void

Method Details

AcceptWebSocketAsync() public method

public AcceptWebSocketAsync ( string subProtocol ) : Task
subProtocol string
return Task

AcceptWebSocketAsync() public method

public AcceptWebSocketAsync ( string subProtocol, System.TimeSpan keepAliveInterval ) : Task
subProtocol string
keepAliveInterval System.TimeSpan
return Task

AcceptWebSocketAsync() public method

public AcceptWebSocketAsync ( string subProtocol, int receiveBufferSize, System.TimeSpan keepAliveInterval ) : Task
subProtocol string
receiveBufferSize int
keepAliveInterval System.TimeSpan
return Task