1 write to _requestNativeHandle
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.cs (1)
84_requestNativeHandle = pInProcessHandler;
21 references to _requestNativeHandle
Microsoft.AspNetCore.Server.IIS (21)
Core\IISHttpContext.cs (15)
289if (!_server.IsWebSocketAvailable(_requestNativeHandle)) 310NativeMethods.HttpSetManagedContext(_requestNativeHandle, (IntPtr)_thisHandle); 503AsyncIO = new AsyncIOEngine(this, _requestNativeHandle); 564NativeMethods.HttpHasResponse4(_requestNativeHandle); 573NativeMethods.HttpSetResponseStatusCode(_requestNativeHandle, (ushort)StatusCode, reasonPhrase); 580NativeMethods.HttpSetNeedGoAway(_requestNativeHandle); 614NativeMethods.HttpResponseSetUnknownHeader(_requestNativeHandle, pHeaderName, pHeaderValue, (ushort)headerValueBytes.Length, fReplace: isFirst); 619NativeMethods.HttpResponseSetKnownHeader(_requestNativeHandle, knownHeaderIndex, pHeaderValue, (ushort)headerValueBytes.Length, fReplace: isFirst); 653NativeMethods.HttpResponseSetTrailer(_requestNativeHandle, pHeaderName, pHeaderValue, (ushort)headerValueBytes.Length, replace: isFirst); 783NativeMethods.HttpSetCompletionStatus(_requestNativeHandle, requestNotificationStatus); 784NativeMethods.HttpPostCompletion(_requestNativeHandle, 0); 837NativeMethods.HttpGetAuthenticationInformation(_requestNativeHandle, out var authenticationType, out var token); 881_requestNativeHandle.Dispose(); 883await new ValueTask<object?>(_requestNativeHandle, _requestNativeHandle.Version);
Core\IISHttpContext.FeatureCollection.cs (5)
293return NativeMethods.HttpTryGetServerVariable(_requestNativeHandle, variableName, out var value) ? value : null; 305NativeMethods.HttpSetServerVariable(_requestNativeHandle, variableName, value); 370AsyncIO = new WebSocketsAsyncIOEngine(this, _requestNativeHandle); 495NativeMethods.HttpResetStream(_requestNativeHandle, (ulong)errorCode); 500NativeMethods.HttpDisableBuffering(_requestNativeHandle);
Core\IISHttpContext.IO.cs (1)
292NativeMethods.HttpCloseConnection(_requestNativeHandle);