Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: HttpResponseContent Html(Stream, HttpStatusCode, HttpResponseHeaders)

Declaration

public static HttpResponseContent Html(
    Stream content,
    HttpStatusCode status = HttpStatusCode._200_OK,
    HttpResponseHeaders headers = null
)

Summary

Returns the contents of the specified stream to the client.

Parameters

Streamcontent 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.