OwinHttpListener Class
This wraps HttpListener and exposes it as an OWIN compatible server.
Namespace: Microsoft.Owin.Host.HttpListener
Assembly: Microsoft.Owin.Host.HttpListener (in Microsoft.Owin.Host.HttpListener.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Host.HttpListener.OwinHttpListener
Syntax
public sealed class OwinHttpListener : IDisposable
public ref class OwinHttpListener sealed : IDisposable
[<Sealed>]
type OwinHttpListener =
class
interface IDisposable
end
Public NotInheritable Class OwinHttpListener
Implements IDisposable
Properties
Name | Description | |
---|---|---|
Listener | The HttpListener instance wrapped by this wrapper. |
Methods
Name | Description | |
---|---|---|
Dispose() | Shuts down the listener and disposes it. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetRequestProcessingLimits(Int32, Int32) | Gets the limits that process the request. |
|
GetType() | (Inherited from Object.) |
|
SetRequestProcessingLimits(Int32, Int32) | These are merged as one call because they should be swapped out atomically. This controls how many requests the server attempts to process concurrently. |
|
SetRequestQueueLimit(Int64) | Sets the maximum number of requests that will be queued up in Http.Sys. |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Owin.Host.HttpListener Namespace
Return to top