Class HttpClientBuilderExtensions
Extensions for
Inheritance
System.Object
HttpClientBuilderExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: BlazorFocused.Tools
Assembly: BlazorFocused.Tools.dll
Syntax
public static class HttpClientBuilderExtensions
Methods
| Improve this Doc View SourceAddSimulatedHttp(IHttpClientBuilder, ISimulatedHttp)
Adds mock data contained withing ISimulatedHttp to Typed Clients
Declaration
public static IHttpClientBuilder AddSimulatedHttp(this IHttpClientBuilder httpClientBuilder, ISimulatedHttp simulatedHttp)
Parameters
Type | Name | Description |
---|---|---|
IHttpClientBuilder | httpClientBuilder | Current |
ISimulatedHttp | simulatedHttp | Provides mock data based on method requests |
Returns
Type | Description |
---|---|
IHttpClientBuilder | Current IHttpClientBuilder with newly registered ISimulatedHttp |