Share via


OwinHttpListener Class

This wraps HttpListener and exposes it as an OWIN compatible server.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Host.HttpListener.OwinHttpListener

Namespace:  Microsoft.Owin.Host.HttpListener
Assembly:  Microsoft.Owin.Host.HttpListener (in Microsoft.Owin.Host.HttpListener.dll)

Syntax

'Declaration
Public NotInheritable Class OwinHttpListener _
    Implements IDisposable
'Usage
Dim instance As OwinHttpListener
public sealed class OwinHttpListener : IDisposable
public ref class OwinHttpListener sealed : IDisposable
[<SealedAttribute>]
type OwinHttpListener =  
    class 
        interface IDisposable 
    end
public final class OwinHttpListener implements IDisposable

The OwinHttpListener type exposes the following members.

Properties

  Name Description
Public property Listener Gets the HttpListener instance wrapped by this wrapper.

Top

Methods

  Name Description
Public method Dispose Shuts down the listener and disposes it.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetRequestProcessingLimits Gets the limits that process the request.
Public method GetType (Inherited from Object.)
Public method SetRequestProcessingLimits These are merged as one call because they should be swapped out atomically. This controls how many requests the server attempts to process concurrently.
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Owin.Host.HttpListener Namespace