Class EmptyResponseBuilder
StaticStringResponseBuilder that returns an empty content response.
Implements
Inherited Members
Namespace: Tableau.Migration.Net.Simulation.Responses
Assembly: Tableau.Migration.dll
Syntax
public class EmptyResponseBuilder : StaticStringResponseBuilder, IResponseBuilder
Constructors
EmptyResponseBuilder(HttpStatusCode, bool)
Creates a new EmptyResponseBuilder object.
Declaration
public EmptyResponseBuilder(HttpStatusCode statusCode = HttpStatusCode.OK, bool requiresAuthentication = true)
Parameters
Type | Name | Description |
---|---|---|
HttpStatusCode | statusCode | The response status code. |
bool | requiresAuthentication | Whether the response requires an authenticated request. |