Version 0.1
A very serious, industrial web framework in Tcl
 All Data Structures Namespaces Files Functions Variables Pages
Public Member Functions | Static Public Attributes
tanzer::response Class Reference
Inheritance diagram for tanzer::response:
tanzer::message tanzer::file::listing

Public Member Functions

 constructor newStatus?newHeaders?
 
 status args
 
- Public Member Functions inherited from tanzer::message
 constructor args
 
 ready
 
 incomplete
 
 parse varName
 
 version args
 
 header name args
 
 headers ?newHeaders?
 
 headerExists name
 
 encodingAccepted encoding
 
 chunked
 
 buffer data
 
 body
 
 length
 
 keepalive
 
 send sock
 

Static Public Attributes

 statuses
 
- Static Public Attributes inherited from tanzer::message
 maxLength
 
 defaultVersion
 

Detailed Description

The HTTP response class.

Constructor & Destructor Documentation

tanzer::response::constructor   newStatus ?newHeaders?  

Create a new response object with the status indicated in $newStatus. If a list of header/value pairs is provided in $newHeaders, then load those default headers.

Member Function Documentation

tanzer::response::status   args  

Return the HTTP status code of the current response. If a new status is provided, then set the status code with the value provided.

Field Documentation

tanzer::response::statuses
static

The HTTP statuses that are served and recognized by tanzer.


The documentation for this class was generated from the following file: