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 | |
---|---|---|
OwinClientHandler(Func<IDictionary<String, Object>, Task>) | Create a new handler. |
Methods
Name | Description | |
---|---|---|
Dispose() | (Inherited from HttpMessageHandler.) |
|
Dispose(Boolean) | (Inherited from HttpMessageHandler.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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).) |
|
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