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 |
| Abstract class: RT.Servers.HttpResponseSummary
Encapsulates a response to an HTTP request. Concrete classes implementing this are HttpResponseContent and HttpResponseWebSocket. Static methodsHttpResponseContent | |
Returns the specified content to the client with the specified MIME type. | HttpResponseContent | |
Returns the contents of the specified byte array to the client with the specified MIME type. | HttpResponseContent | |
Returns the contents of the specified stream to the client with the specified MIME type. | HttpResponseContent | |
Returns the specified content to the client as a single concatenated piece of text with the specified MIME
type. | HttpResponseContent | |
Returns the specified content to the client with the MIME type “text/css; charset=utf-8”. | HttpResponseContent | |
Returns the contents of the specified byte array to the client. | HttpResponseContent | |
Returns the contents of the specified stream to the client. | HttpResponseContent | |
Returns the specified content to the client as a single concatenated piece of text with the MIME type
“text/css; charset=utf-8”. | HttpResponseContent | |
Returns a response to the client consisting of an empty body. | HttpResponseContent | File(string filePath, string contentType = null, int? maxAge = 3600, DateTime? ifModifiedSince = null) |
Returns the specified file from the local file system using the specified MIME content type to the client. | HttpResponseContent | |
Returns the specified content to the client with the MIME type “text/html; charset=utf-8”. | HttpResponseContent | |
Returns the contents of the specified byte array to the client. | HttpResponseContent | |
Returns the contents of the specified stream to the client. | HttpResponseContent | |
Returns the specified tag content to the client. | HttpResponseContent | |
Returns the specified content to the client as a single concatenated piece of text with the MIME type
“text/html; charset=utf-8”. | HttpResponseContent | |
Returns the specified content to the client with the MIME type “text/javascript; charset=utf-8”. | HttpResponseContent | |
Returns the contents of the specified byte array to the client. | HttpResponseContent | |
Returns the contents of the specified stream to the client. | HttpResponseContent | |
Returns the specified content to the client as a single concatenated piece of text with the MIME type
“text/javascript; charset=utf-8”. | HttpResponseContent | |
Returns the specified content to the client with the MIME type “application/json; charset=utf-8”. | HttpResponseContent | | Generates a 304 Not Modified response. | HttpResponseContent | |
Returns the specified content to the client with the MIME type “text/plain; charset=utf-8”. | HttpResponseContent | |
Returns the contents of the specified byte array to the client. | HttpResponseContent | |
Returns the contents of the specified stream to the client. | HttpResponseContent | |
Returns the specified content to the client as a single concatenated piece of text with the MIME type
“text/plain; charset=utf-8”. | HttpResponseContent | |
Redirects the client to a new URL, using the HTTP status code 302 Found and making the response uncacheable. | HttpResponseContent | | HttpResponseWebSocket | |
Returns an HttpResponseWebSocket which indicates to the client that the HTTP connection should
switch to the WebSocket protocol. |
Instance methodsOperatorsInstance propertiesHttpResponseHeaders | | The HTTP response headers which are to be sent back to the HTTP client as part of this HTTP response. | HttpStatusCode | | The HTTP status code. For example, 200 OK, 404 Not Found, 500 Internal Server Error. Default is 200 OK. |
|