Interface ISimulatedHttpSetup
Handles configuration/simulated response returned for a request from ISimulatedHttp
Namespace: BlazorFocused.Tools
Assembly: BlazorFocused.Tools.dll
Syntax
public interface ISimulatedHttpSetup
Methods
| Improve this Doc View SourceReturnsAsync(HttpStatusCode, Object)
Configures the expected results of "Setup" request/>
Declaration
void ReturnsAsync(HttpStatusCode statusCode, object responseObject)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpStatusCode | statusCode | Simulated http response status |
System.Object | responseObject | Simulated deserialized object in http response body |