Share via


OwinServerFactory Class

 

Implements the Katana setup pattern for the OwinHttpListener 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.OwinServerFactory

Syntax

public static class OwinServerFactory
public ref class OwinServerFactory abstract sealed 
[<AbstractClass>]
[<Sealed>]
type OwinServerFactory = class end
Public NotInheritable Class OwinServerFactory

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static Create(Func<IDictionary<String, Object>, Task>, IDictionary<String, Object>)

Creates an OwinHttpListener and starts listening on the given URL.

System_CAPS_pubmethodSystem_CAPS_static Initialize(IDictionary<String, Object>)

Advertise the capabilities of the server.

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