Attributes
| hijacked | [R] | |
| upgrade_protocol | [R] |
Public Class methods
new(*)
[show source]
# File lib/httpx/plugins/upgrade.rb 72 def initialize(*) 73 super 74 75 @upgrade_protocol = nil 76 end
Public Instance methods
hijack_io()
[show source]
# File lib/httpx/plugins/upgrade.rb 78 def hijack_io 79 @hijacked = true 80 81 # connection is taken away from selector and not given back to the pool. 82 @current_session.deselect_connection(self, @current_selector, true) 83 end