TestServer Class
Helps construct an in-memory OWIN pipeline and dispatch requests using HttpClient.
Assembly: Microsoft.Owin.Testing (in Microsoft.Owin.Testing.dll)
| Name | Description | |
|---|---|---|
![]() | TestServer() | Initializes a new instance of the TestServer class. |
| Name | Description | |
|---|---|---|
![]() | BaseAddress | Gets or sets the base address used when making requests. The default is 'http://localhost/'. |
![]() | Handler | The base handler that transitions to the OWIN pipeline. Wrap this instance to add intermediate handlers. |
![]() | HttpClient | Returns a new HttpClient which wraps the Handler and is capable of submitting requests to the OWIN pipeline. |
| Name | Description | |
|---|---|---|
![]() | Configure(Action<IAppBuilder^>^) | Configures the OWIN pipeline. |
![]() | Configure(Action<IAppBuilder^>^, StartOptions^) | Configures the OWIN pipeline. |
![]() | Configure<TStartup>() | Configures the OWIN pipeline. |
![]() | Configure<TStartup>(StartOptions^) | Configures the OWIN pipeline. |
![]() ![]() | Create(Action<IAppBuilder^>^) | Create a new TestServer instance and configure the OWIN pipeline. |
![]() ![]() | Create<TStartup>() | Create a new TestServer instance and configure the OWIN pipeline. |
![]() | CreateRequest(String^) | Begins constructing a request message for submission. |
![]() | Dispose() | Disposes TestServer and OWIN pipeline. |
![]() | Dispose(Boolean) | Disposes TestServer and OWIN pipeline. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Invoke(IDictionary<String^, Object^>^) | Directly invokes the OWIN pipeline with the given OWIN environment. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



