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

HttpListenerResponse() private method

private HttpListenerResponse ( ) : System.Collections.Generic
return System.Collections.Generic
        internal HttpListenerResponse()
        {
            if (NetEventSource.IsEnabled) NetEventSource.Info(this);
            _nativeResponse = new Interop.HttpApi.HTTP_RESPONSE();
            _webHeaders = new WebHeaderCollection();
            _boundaryType = BoundaryType.None;
            _nativeResponse.StatusCode = (ushort)HttpStatusCode.OK;
            _nativeResponse.Version.MajorVersion = 1;
            _nativeResponse.Version.MinorVersion = 1;
            _keepAlive = true;
            _responseState = ResponseState.Created;
        }

Same methods

HttpListenerResponse::HttpListenerResponse ( HttpListenerContext httpContext ) : System.Collections.Generic