Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: HttpResponseContent Empty(HttpStatusCode, HttpResponseHeaders)

Declaration

public static HttpResponseContent Empty(
    HttpStatusCode status = HttpStatusCode._200_OK,
    HttpResponseHeaders headers = null
)

Summary

Returns a response to the client consisting of an empty body.

Parameters

HttpStatusCodestatus HTTP status code to use in the response.
HttpResponseHeadersheaders Headers to use in the response, or null to use default values.