1 write to Server
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.cs (1)
25
Server
= server;
29 references to Server
Microsoft.AspNetCore.Server.HttpSys (29)
RequestProcessing\ClientCertLoader.cs (3)
47
internal SafeHandle RequestQueueHandle => _requestContext.
Server
.RequestQueue.Handle;
127
var boundHandle = RequestContext.
Server
.RequestQueue.BoundHandle;
241
requestContext.
Server
.RequestQueue.Handle,
RequestProcessing\Request.cs (2)
66
var prefix = requestContext.
Server
.Options.UrlPrefixes.GetPrefix((int)requestContext.UrlContext);
161
else if (requestContext.
Server
.Options.UrlPrefixes.TryMatchLongestPrefix(IsHttps, cookedUrl.GetHost()!, originalPath, out var pathBase, out var path))
RequestProcessing\RequestContext.cs (6)
31
internal ILogger Logger =>
Server
.Logger;
54
var connectionDisconnectToken =
Server
.DisconnectListener.GetTokenForConnection(Request.UConnectionId);
203
var statusCode = PInvoke.HttpCancelHttpRequest(
Server
.RequestQueue.Handle,
229
Server
.RequestQueue.Handle,
260
var statusCode = HttpApi.HttpSetRequestProperty(
Server
.RequestQueue.Handle, Request.RequestId, HTTP_REQUEST_PROPERTY.HttpRequestPropertyStreamError, &streamError,
297
var source =
Server
.RequestQueue;
RequestProcessing\RequestContext.FeatureCollection.cs (5)
118
Server
.SendError(_requestId.Value, StatusCodes.Status400BadRequest, authChallenges: null);
125
_enableResponseCaching =
Server
.Options.EnableResponseCaching;
136
if (
Server
.Options.Authentication.AutomaticAuthentication)
332
var method =
Server
.Options.ClientCertificateMethod;
360
||
Server
.Options.ClientCertificateMethod != ClientCertificateMethod.AllowRenegotation
RequestProcessing\RequestStream.cs (3)
28
_maxSize = _requestContext.
Server
.Options.MaxRequestBodySize;
36
private SafeHandle RequestQueueHandle => RequestContext.
Server
.RequestQueue.Handle;
40
private ILogger Logger => RequestContext.
Server
.Logger;
RequestProcessing\RequestStreamAsyncResult.cs (1)
28
var boundHandle = requestStream.RequestContext.
Server
.RequestQueue.BoundHandle;
RequestProcessing\Response.cs (3)
54
_authChallenges = RequestContext.
Server
.Options.Authentication.Schemes;
328
RequestContext.
Server
.RequestQueue.Handle,
346
RequestContext.
Server
.RequestQueue.Handle,
RequestProcessing\ResponseBody.cs (4)
34
private SafeHandle RequestQueueHandle => RequestContext.
Server
.RequestQueue.Handle;
38
private ILogger Logger => RequestContext.
Server
.Logger;
40
internal bool ThrowWriteExceptions => RequestContext.
Server
.Options.ThrowWriteExceptions;
42
internal bool EnableKernelResponseBuffering => RequestContext.
Server
.Options.EnableKernelResponseBuffering;
RequestProcessing\ResponseStreamAsyncResult.cs (2)
42
var boundHandle = _responseStream.RequestContext.
Server
.RequestQueue.BoundHandle;
101
var boundHandle = responseStream.RequestContext.
Server
.RequestQueue.BoundHandle;