Module: HTTPX::Plugins::Upgrade::ConnectionMethods
- Defined in:
- lib/httpx/plugins/upgrade.rb
Instance Attribute Summary collapse
-
#hijacked ⇒ Object
readonly
Returns the value of attribute hijacked.
-
#upgrade_protocol ⇒ Object
readonly
Returns the value of attribute upgrade_protocol.
Instance Method Summary collapse
Instance Attribute Details
#hijacked ⇒ Object (readonly)
Returns the value of attribute hijacked.
75 76 77 |
# File 'lib/httpx/plugins/upgrade.rb', line 75 def hijacked @hijacked end |
#upgrade_protocol ⇒ Object (readonly)
Returns the value of attribute upgrade_protocol.
75 76 77 |
# File 'lib/httpx/plugins/upgrade.rb', line 75 def upgrade_protocol @upgrade_protocol end |
Instance Method Details
#hijack_io ⇒ Object
77 78 79 |
# File 'lib/httpx/plugins/upgrade.rb', line 77 def hijack_io @hijacked = true end |