RequestContext Class

Definition

public ref class RequestContext sealed : IDisposable
public sealed class RequestContext : IDisposable
type RequestContext = class
    interface IDisposable
Public NotInheritable Class RequestContext
Implements IDisposable
Inheritance
RequestContext
Implements

Properties

AuthenticationChallenges

The authentication challengest that will be added to the response if the status code is 401. This must be a subset of the AuthenticationSchemes enabled on the server.

DisconnectToken
IsUpgradableRequest
IsWebSocketRequest
Request
Response
TraceIdentifier
User

Methods

Abort()

Forcibly terminate and dispose the request, closing the connection if necessary.

AcceptWebSocketAsync()
AcceptWebSocketAsync(String)
AcceptWebSocketAsync(String, Int32, TimeSpan)
AcceptWebSocketAsync(String, TimeSpan)
Dispose()

Flushes and completes the response.

UpgradeAsync()

Extension Methods

AcceptWebSocketAsync(RequestContext)
AcceptWebSocketAsync(RequestContext, String)
AcceptWebSocketAsync(RequestContext, String, Int32, TimeSpan)
AcceptWebSocketAsync(RequestContext, String, Int32, TimeSpan, ArraySegment<Byte>)
AcceptWebSocketAsync(RequestContext, String, TimeSpan)
IsWebSocketRequest(RequestContext)

Applies to