Owin.Host.MonoHttpListener.RequestProcessing.OwinHttpListenerContext.OwinHttpListenerContext C# (CSharp) Méthode

OwinHttpListenerContext() private méthode

private OwinHttpListenerContext ( Mono.Net.HttpListenerContext httpListenerContext, string basePath, string path, string query, DisconnectHandler disconnectHandler ) : System
httpListenerContext Mono.Net.HttpListenerContext
basePath string
path string
query string
disconnectHandler DisconnectHandler
Résultat System
        internal OwinHttpListenerContext(HttpListenerContext httpListenerContext, string basePath, string path, string query, DisconnectHandler disconnectHandler)
        {
            _httpListenerContext = httpListenerContext;
            _environment = new CallEnvironment(this);
            _owinRequest = new OwinHttpListenerRequest(_httpListenerContext.Request, basePath, path, query, _environment);
            _owinResponse = new OwinHttpListenerResponse(_httpListenerContext, _environment);
            _disconnectHandler = disconnectHandler;

            _environment.OwinVersion = Constants.OwinVersion;

            _environment.ServerUser = _httpListenerContext.User;
            _environment.RequestContext = _httpListenerContext;
        }