Share via


OwinClientHandler Class

 

This adapts HttpRequestMessages to OWIN requests, dispatches them through the OWIN pipeline, and returns the associated HttpResponseMessage.

Namespace:   Microsoft.Owin.Testing
Assembly:  Microsoft.Owin.Testing (in Microsoft.Owin.Testing.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpMessageHandler
    Microsoft.Owin.Testing.OwinClientHandler

Syntax

public class OwinClientHandler : HttpMessageHandler
public ref class OwinClientHandler : HttpMessageHandler
type OwinClientHandler = 
    class
        inherit HttpMessageHandler
    end
Public Class OwinClientHandler
    Inherits HttpMessageHandler

Constructors

Name Description
System_CAPS_pubmethod OwinClientHandler(Func<IDictionary<String, Object>, Task>)

Create a new handler.

Methods

Name Description
System_CAPS_pubmethod Dispose()

(Inherited from HttpMessageHandler.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from HttpMessageHandler.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod SendAsync(HttpRequestMessage, CancellationToken)

This adapts HttpRequestMessages to OWIN requests, dispatches them through the OWIN pipeline, and returns the associated HttpResponseMessage.(Overrides HttpMessageHandler.SendAsync(HttpRequestMessage, CancellationToken).)

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.Testing Namespace

Return to top