System.Net.HttpListenerContext.HttpListenerContext C# (CSharp) Method

HttpListenerContext() private method

private HttpListenerContext ( HttpListener httpListener, RequestContextBase memoryBlob ) : System.Security.Principal
httpListener HttpListener
memoryBlob RequestContextBase
return System.Security.Principal
        internal HttpListenerContext(HttpListener httpListener, RequestContextBase memoryBlob)
        {
            if (NetEventSource.IsEnabled) NetEventSource.Info(this, $"httpListener {httpListener} requestBlob={((IntPtr)memoryBlob.RequestBlob)}");
            _listener = httpListener;
            Request = new HttpListenerRequest(this, memoryBlob);
            AuthenticationSchemes = httpListener.AuthenticationSchemes;
            ExtendedProtectionPolicy = httpListener.ExtendedProtectionPolicy;
            if (NetEventSource.IsEnabled) NetEventSource.Info(this, $"HttpListener: {_listener} HttpListenerRequest: {Request}");
        }