1 write to _requestNativeHandle
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.cs (1)
85_requestNativeHandle = pInProcessHandler;
21 references to _requestNativeHandle
Microsoft.AspNetCore.Server.IIS (21)
Core\IISHttpContext.cs (15)
296if (!_server.IsWebSocketAvailable(_requestNativeHandle)) 317NativeMethods.HttpSetManagedContext(_requestNativeHandle, (IntPtr)_thisHandle); 550AsyncIO = new AsyncIOEngine(this, _requestNativeHandle); 611NativeMethods.HttpHasResponse4(_requestNativeHandle); 620NativeMethods.HttpSetResponseStatusCode(_requestNativeHandle, (ushort)StatusCode, reasonPhrase); 627NativeMethods.HttpSetNeedGoAway(_requestNativeHandle); 661NativeMethods.HttpResponseSetUnknownHeader(_requestNativeHandle, pHeaderName, pHeaderValue, (ushort)headerValueBytes.Length, fReplace: isFirst); 666NativeMethods.HttpResponseSetKnownHeader(_requestNativeHandle, knownHeaderIndex, pHeaderValue, (ushort)headerValueBytes.Length, fReplace: isFirst); 700NativeMethods.HttpResponseSetTrailer(_requestNativeHandle, pHeaderName, pHeaderValue, (ushort)headerValueBytes.Length, replace: isFirst); 830NativeMethods.HttpSetCompletionStatus(_requestNativeHandle, requestNotificationStatus); 831NativeMethods.HttpPostCompletion(_requestNativeHandle, 0); 890NativeMethods.HttpGetAuthenticationInformation(_requestNativeHandle, out var authenticationType, out var token); 934_requestNativeHandle.Dispose(); 936await new ValueTask<object?>(_requestNativeHandle, _requestNativeHandle.Version);
Core\IISHttpContext.FeatureCollection.cs (5)
294return NativeMethods.HttpTryGetServerVariable(_requestNativeHandle, variableName, out var value) ? value : null; 306NativeMethods.HttpSetServerVariable(_requestNativeHandle, variableName, value); 371AsyncIO = new WebSocketsAsyncIOEngine(this, _requestNativeHandle); 502NativeMethods.HttpResetStream(_requestNativeHandle, (ulong)errorCode); 507NativeMethods.HttpDisableBuffering(_requestNativeHandle);
Core\IISHttpContext.IO.cs (1)
292NativeMethods.HttpCloseConnection(_requestNativeHandle);