to the HTTP client that sent the original
request. A request handler must return an HttpResponse object to the
when handling a
request.
HttpResponseContent | |
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. |