Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: HttpResponseContent Html(Tag, HttpStatusCode, HttpResponseHeaders, bool)

Declaration

public static HttpResponseContent Html(
    Tag content,
    HttpStatusCode status = HttpStatusCode._200_OK,
    HttpResponseHeaders headers = null,
    bool buffered = true
)

Summary

Returns the specified tag content to the client.

Parameters

Tagcontent Content to return to the client.
HttpStatusCodestatus HTTP status code to use in the response.
HttpResponseHeadersheaders Headers to use in the response, or null to use default values.
boolbuffered If true (default), the output is buffered for performance; otherwise, all text is transmitted as soon as possible.