Share via


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
System_CAPS_pubproperty Listener

The HttpListener instance wrapped by this wrapper.

Methods

Name Description
System_CAPS_pubmethod Dispose()

Shuts down the listener and disposes it.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetRequestProcessingLimits(Int32, Int32)

Gets the limits that process the request.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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.

System_CAPS_pubmethod SetRequestQueueLimit(Int64)

Sets the maximum number of requests that will be queued up in Http.Sys.

System_CAPS_pubmethod 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