Share via


ChaosHandler.Create502BadGatewayResponse Method

Definition

Create a HTTP status 502 response message

public static System.Net.Http.HttpResponseMessage Create502BadGatewayResponse ();
static member Create502BadGatewayResponse : unit -> System.Net.Http.HttpResponseMessage
Public Shared Function Create502BadGatewayResponse () As HttpResponseMessage

Returns

A HttpResponseMessage object simulating a 502 Response

Applies to