Class: Tep::Http::FramedResp
- Inherits:
-
Object
- Object
- Tep::Http::FramedResp
- Defined in:
- lib/tep/http.rb
Overview
Result of recv_framed: the raw bytes, whether the body was cleanly Content-Length-framed (so the socket sits at a clean boundary and can be pooled), and whether the peer asked to close.
Instance Attribute Summary collapse
-
#conn_close ⇒ Object
Returns the value of attribute conn_close.
-
#framed_clean ⇒ Object
Returns the value of attribute framed_clean.
-
#raw ⇒ Object
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize ⇒ FramedResp
constructor
A new instance of FramedResp.
Constructor Details
#initialize ⇒ FramedResp
Returns a new instance of FramedResp.
536 537 538 539 540 |
# File 'lib/tep/http.rb', line 536 def initialize @raw = "" @framed_clean = false @conn_close = false end |
Instance Attribute Details
#conn_close ⇒ Object
Returns the value of attribute conn_close.
535 536 537 |
# File 'lib/tep/http.rb', line 535 def conn_close @conn_close end |
#framed_clean ⇒ Object
Returns the value of attribute framed_clean.
535 536 537 |
# File 'lib/tep/http.rb', line 535 def framed_clean @framed_clean end |
#raw ⇒ Object
Returns the value of attribute raw.
535 536 537 |
# File 'lib/tep/http.rb', line 535 def raw @raw end |