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