Show / Hide Table of Contents

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 Source

ReturnsAsync(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

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX