RequestContext Class¶
- Namespace
Microsoft.Net.Http.Server- Assemblies
- Microsoft.Net.Http.Server
Syntax¶
public sealed class RequestContext : IDisposable
-
class
Microsoft.Net.Http.Server.RequestContext
Properties¶
-
Microsoft.Net.Http.Server.RequestContext.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.
Return type: Microsoft.Net.Http.Server.AuthenticationSchemes public AuthenticationSchemes AuthenticationChallenges { get; set; }
-
Microsoft.Net.Http.Server.RequestContext.DisconnectToken¶ Return type: System.Threading.CancellationToken public CancellationToken DisconnectToken { get; }
-
Microsoft.Net.Http.Server.RequestContext.IsUpgradableRequest¶ Return type: System.Boolean public bool IsUpgradableRequest { get; }
-
Microsoft.Net.Http.Server.RequestContext.Request¶ Return type: Microsoft.Net.Http.Server.Request public Request Request { get; }
-
Microsoft.Net.Http.Server.RequestContext.Response¶ Return type: Microsoft.Net.Http.Server.Response public Response Response { get; }
-
Microsoft.Net.Http.Server.RequestContext.TraceIdentifier¶ Return type: System.Guid public Guid TraceIdentifier { get; }
-
Microsoft.Net.Http.Server.RequestContext.User¶ Return type: System.Security.Claims.ClaimsPrincipal public ClaimsPrincipal User { get; }
-