27 references to NativeRequest
Microsoft.AspNetCore.Server.HttpSys (27)
AsyncAcceptContext.cs (1)
183_requestContext.NativeRequest,
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (26)
135get { return NativeRequest->RequestId; } 136set { NativeRequest->RequestId = value; } 139internal ulong ConnectionId => NativeRequest->ConnectionId; 141internal ulong RawConnectionId => NativeRequest->RawConnectionId; 143internal HTTP_VERB VerbId => NativeRequest->Verb; 145internal ulong UrlContext => NativeRequest->UrlContext; 147internal ushort UnknownHeaderCount => NativeRequest->Headers.UnknownHeaderCount; 153return NativeRequest->pSslInfo == null ? SslStatus.Insecure : 154NativeRequest->pSslInfo->SslClientCertNegotiated == 0 ? SslStatus.NoClientCert : 159internal bool IsHttp2 => (NativeRequest->Flags & PInvoke.HTTP_REQUEST_FLAG_HTTP2) != 0; 161internal bool IsHttp3 => (NativeRequest->Flags & PInvoke.HTTP_REQUEST_FLAG_HTTP3) != 0; 225var verb = NativeRequest->Verb; 231else if (verb == HTTP_VERB.HttpVerbUnknown && !NativeRequest->pUnknownVerb.Equals(null)) 234return HeaderEncoding.GetString(NativeRequest->pUnknownVerb, NativeRequest->UnknownVerbLength, useLatin1: false); 267if (!NativeRequest->pRawUrl.Equals(null) && NativeRequest->RawUrlLength > 0) 269return Marshal.PtrToStringAnsi((IntPtr)NativeRequest->pRawUrl.Value, NativeRequest->RawUrlLength); 276if (!NativeRequest->pRawUrl.Equals(null) && NativeRequest->RawUrlLength > 0) 278return new Span<byte>(NativeRequest->pRawUrl, NativeRequest->RawUrlLength); 286return new CookedUrl(NativeRequest->CookedUrl); 299var major = NativeRequest->Version.MajorVersion; 300var minor = NativeRequest->Version.MinorVersion;