Microsoft.Owin.Host.HttpListener This class is used to wrap other streams and convert some exception types. This wraps HttpListenerRequest's WebHeaderCollection (NameValueCollection) and adapts it to the OWIN required IDictionary surface area. It remains fully mutable, but you will be subject to the header validations performed by the underlying collection. This wraps HttpListener and exposes it as an OWIN compatible server. Creates a listener wrapper that can be configured by the user before starting. These are merged as one call because they should be swapped out atomically. This controls how many requests the server attempts to process concurrently. The maximum number of pending request receives. The maximum number of active requests being processed. Sets the maximum number of requests that will be queued up in Http.Sys. Starts the listener and request processing threads. Shuts down the listener and disposes it. The HttpListener instance wrapped by this wrapper. This wraps an HttpListenerRequest and exposes it as an OWIN environment IDictionary. Initializes a new instance of the class. Uses the given request object to populate the OWIN standard keys in the environment IDictionary. Most values are copied so that they can be mutable, but the headers collection is only wrapped. This wraps an HttpListenerResponse, populates it with the given response fields, and relays the response body to the underlying stream. Initializes a new instance of the class. Sets up the Environment with the necessary request state items. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to The key '{0}' is already present in the dictionary.. Looks up a localized string similar to The response headers have already been sent.. Implements the Katana setup pattern for the OwinHttpListener server. Advertise the capabilities of the server. Creates an OwinHttpListener and starts listening on the given URL. The application entry point. The addresses to listen on. The OwinHttpListener. Invoke Dispose to shut down. Standard keys and values for use within the OWIN interfaces