Class CKResponse |
|
A response object that is sent to a browser by a CKAdapter object.
You can get a response object by CKApplication#response or CKComponent#response.
To send HTTP response headers, append a pair of key and value to headers. For example,
application.response.headers['Content-Type'] = 'text/html'
status: | Status code in HTTP. Default status is 200 ( OK ). |
Methods |
Attributes |
:status | [RW] |
Public Class methods |
new( headers ) |
Public Instance methods |
to_s() |