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