Jaa


MockHttpRequestMiddleware.SetFallback Method

Definition

Set fallback.

public void SetFallback (Func<System.Net.Http.HttpRequestMessage,System.Net.Http.HttpResponseMessage> fallback);
member this.SetFallback : Func<System.Net.Http.HttpRequestMessage, System.Net.Http.HttpResponseMessage> -> unit
Public Sub SetFallback (fallback As Func(Of HttpRequestMessage, HttpResponseMessage))

Parameters

fallback
Func<HttpRequestMessage,HttpResponseMessage>

New fallback or null.

Applies to