1 type derived from RequestContext
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContextOfT.cs (1)
11
internal sealed partial class RequestContext<TContext> :
RequestContext
where TContext : notnull
38 references to RequestContext
Microsoft.AspNetCore.Server.HttpSys (38)
ApplicationRequestContextFactory.cs (1)
19
public
RequestContext
CreateRequestContext(uint? bufferSize, ulong requestId)
AsyncAcceptContext.cs (8)
10
internal sealed unsafe partial class AsyncAcceptContext : IValueTaskSource<
RequestContext
>, IDisposable
24
private ManualResetValueTaskSourceCore<
RequestContext
> _mrvts = new()
30
private
RequestContext
? _requestContext;
42
internal ValueTask<
RequestContext
> AcceptAsync()
54
return ValueTask.FromException<
RequestContext
>(new HttpSysException((int)statusCode));
57
return new ValueTask<
RequestContext
>(this, _mrvts.Version);
76
var
requestContext = _requestContext;
273
public
RequestContext
GetResult(short token)
AuthenticationHandler.cs (2)
11
private
RequestContext
? _requestContext;
39
_requestContext = context.Features.Get<
RequestContext
>();
AuthenticationManager.cs (1)
179
internal static void SetAuthenticationChallenge(
RequestContext
context)
HttpSysListener.cs (1)
271
internal ValueTask<
RequestContext
> AcceptAsync(AsyncAcceptContext acceptContext)
IRequestContextFactory.cs (1)
8
RequestContext
CreateRequestContext(uint? bufferSize, ulong requestId);
MessagePump.cs (1)
253
RequestContext
requestContext;
RequestProcessing\ClientCertLoader.cs (4)
26
private readonly
RequestContext
_requestContext;
33
internal ClientCertLoader(
RequestContext
requestContext, CancellationToken cancellationToken)
76
private
RequestContext
RequestContext
226
var
requestContext = asyncResult.RequestContext;
RequestProcessing\Request.cs (2)
38
internal Request(
RequestContext
requestContext)
203
private
RequestContext
RequestContext { get; }
RequestProcessing\RequestContext.cs (2)
183
var
context = (
RequestContext
)state!;
RequestProcessing\RequestStream.cs (3)
18
private readonly
RequestContext
_requestContext;
25
internal RequestStream(
RequestContext
httpContext)
31
internal
RequestContext
RequestContext
RequestProcessing\Response.cs (2)
35
internal Response(
RequestContext
requestContext)
65
private
RequestContext
RequestContext { get; }
RequestProcessing\ResponseBody.cs (3)
16
private readonly
RequestContext
_requestContext;
24
internal ResponseBody(
RequestContext
requestContext)
29
internal
RequestContext
RequestContext
StandardFeatureCollection.cs (7)
13
private static readonly Func<
RequestContext
, object> _identityFunc = ReturnIdentity;
14
private static readonly Dictionary<Type, Func<
RequestContext
, object?>> _featureFuncLookup = new()
25
{ typeof(
RequestContext
), ctx => ctx },
35
private readonly
RequestContext
_featureContext;
55
public StandardFeatureCollection(
RequestContext
featureContext)
74
Func<
RequestContext
, object?>? lookupFunc;
84
private static object ReturnIdentity(
RequestContext
featureContext)