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