The IHttpResponse type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddHeader |
Add another header to the document.
| |
| Redirect | Overloaded. | |
| Send |
Send headers and body to the browser.
| |
| SendBody | Overloaded. | |
| SendHeaders |
Send headers to the client.
|
Properties
| Name | Description | |
|---|---|---|
| Body |
The body stream is used to cache the body contents
before sending everything to the client. It's the simplest
way to serve documents.
| |
| Chunked |
The chunked encoding modifies the body of a message in order to
transfer it as a series of chunks, each with its own size indicator,
followed by an OPTIONAL trailer containing entity-header fields. This
allows dynamically produced content to be transferred along with the
information necessary for the recipient to verify that it has
received the full message.
| |
| Connection |
Kind of connection
| |
| ContentLength |
Size of the body. MUST be specified before sending the header,
unless property Chunked is set to true.
| |
| ContentType |
Kind of content in the body
| |
| Cookies |
Cookies that should be created/changed.
| |
| Encoding |
Encoding to use when sending stuff to the client.
| |
| HeadersSent |
Headers have been sent to the client-
| |
| KeepAlive |
Number of seconds to keep connection alive
| |
| Reason |
Information about why a specific status code was used.
| |
| Sent |
The whole response have been sent.
| |
| Status |
Status code that is sent to the client.
|