Class: FCGI::Request
- Inherits:
-
Object
- Object
- FCGI::Request
- Defined in:
- lib/cgialt/fcgi/core.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#err ⇒ Object
readonly
Returns the value of attribute err.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#in ⇒ Object
readonly
Returns the value of attribute in.
-
#out ⇒ Object
readonly
Returns the value of attribute out.
Instance Method Summary collapse
-
#finish ⇒ Object
for backword compatibility.
-
#initialize(id, env, stdin, stdout = nil, stderr = nil, data = nil) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(id, env, stdin, stdout = nil, stderr = nil, data = nil) ⇒ Request
Returns a new instance of Request.
279 280 281 282 283 284 285 286 |
# File 'lib/cgialt/fcgi/core.rb', line 279 def initialize(id, env, stdin, stdout = nil, stderr = nil, data = nil) @id = id @env = env @in = stdin @out = stdout || StringIO.new @err = stderr || StringIO.new @data = data || StringIO.new end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
293 294 295 |
# File 'lib/cgialt/fcgi/core.rb', line 293 def data @data end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
289 290 291 |
# File 'lib/cgialt/fcgi/core.rb', line 289 def env @env end |
#err ⇒ Object (readonly)
Returns the value of attribute err.
292 293 294 |
# File 'lib/cgialt/fcgi/core.rb', line 292 def err @err end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
288 289 290 |
# File 'lib/cgialt/fcgi/core.rb', line 288 def id @id end |
#in ⇒ Object (readonly)
Returns the value of attribute in.
290 291 292 |
# File 'lib/cgialt/fcgi/core.rb', line 290 def in @in end |
#out ⇒ Object (readonly)
Returns the value of attribute out.
291 292 293 |
# File 'lib/cgialt/fcgi/core.rb', line 291 def out @out end |
Instance Method Details
#finish ⇒ Object
for backword compatibility
295 296 |
# File 'lib/cgialt/fcgi/core.rb', line 295 def finish # for backword compatibility end |