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