Create(content, contentType, status, headers) Create(content, contentType, status, headers) Create(content, contentType, status, headers) Create(content, contentType, status, headers, buffered) Css(content, status, headers) Css(content, status, headers) Css(content, status, headers) Css(content, status, headers, buffered) File(filePath, contentType, maxAge, ifModifiedSince) Html(content, status, headers) Html(content, status, headers) Html(content, status, headers) Html(content, status, headers, buffered) Html(content, status, headers, buffered) Json(content, status, headers) PlainText(content, status, headers, buffered)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: HttpResponseContent Html(Tag, HttpStatusCode, HttpResponseHeaders, bool)Declarationpublic 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. ParametersTag | content |
Content to return to the client. | HttpStatusCode | status |
HTTP status code to use in the response. | HttpResponseHeaders | headers |
Headers to use in the response, or null to use default values. | bool | buffered |
If true (default), the output is buffered for performance; otherwise, all text is transmitted as soon as
possible. |
|