Class: HttpServer::Response
Instance Attribute Summary (collapse)
-
- (Object) body
Returns the value of attribute body.
-
- (Object) header
readonly
Returns the value of attribute header.
-
- (Object) status
Returns the value of attribute status.
-
- (Object) status_message
Returns the value of attribute status_message.
Instance Method Summary (collapse)
-
- (Response) initialize(status = 200)
constructor
A new instance of Response.
Constructor Details
- (Response) initialize(status = 200)
A new instance of Response
70 71 72 73 74 |
# File 'lib/xmlrpc/httpserver.rb', line 70 def initialize(status=200) @status = status @status_message = nil @header = Table.new end |
Instance Attribute Details
- (Object) body
Returns the value of attribute body
68 69 70 |
# File 'lib/xmlrpc/httpserver.rb', line 68 def body @body end |
- (Object) header (readonly)
Returns the value of attribute header
67 68 69 |
# File 'lib/xmlrpc/httpserver.rb', line 67 def header @header end |
- (Object) status
Returns the value of attribute status
68 69 70 |
# File 'lib/xmlrpc/httpserver.rb', line 68 def status @status end |
- (Object) status_message
Returns the value of attribute status_message
68 69 70 |
# File 'lib/xmlrpc/httpserver.rb', line 68 def @status_message end |