Module: HTTPX::Plugins::Upgrade::ConnectionMethods

Defined in:
lib/httpx/plugins/upgrade.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hijackedObject (readonly)

Returns the value of attribute hijacked.



76
77
78
# File 'lib/httpx/plugins/upgrade.rb', line 76

def hijacked
  @hijacked
end

#upgrade_protocolObject (readonly)

Returns the value of attribute upgrade_protocol.



76
77
78
# File 'lib/httpx/plugins/upgrade.rb', line 76

def upgrade_protocol
  @upgrade_protocol
end

Instance Method Details

#hijack_ioObject



78
79
80
# File 'lib/httpx/plugins/upgrade.rb', line 78

def hijack_io
  @hijacked = true
end