Class: Async::HTTP::Protocol::Response
  
  
  
  
  
    - Inherits:
- 
      Protocol::HTTP::Response
      
        
          - Object
- Protocol::HTTP::Response
- Async::HTTP::Protocol::Response
 show all
    - Defined in:
- lib/async/http/protocol/response.rb
 
Overview
  
    
This is generated by client protocols.
   
 
  
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
    Instance Method Details
    
      
  
  
    #connection  ⇒ Object 
  
  
  
  
    | 
32
33
34 | # File 'lib/async/http/protocol/response.rb', line 32
def connection
	nil
end | 
 
    
      
  
  
    #hijack?  ⇒ Boolean 
  
  
  
  
    | 
36
37
38 | # File 'lib/async/http/protocol/response.rb', line 36
def hijack?
	false
end | 
 
    
      
  
  
    #peer  ⇒ Object 
  
  
  
  
    | 
40
41
42
43
44 | # File 'lib/async/http/protocol/response.rb', line 40
def peer
	if connection = self.connection
		connection.peer
	end
end | 
 
    
      
  
  
    #remote_address  ⇒ Object 
  
  
  
  
    | 
46
47
48 | # File 'lib/async/http/protocol/response.rb', line 46
def remote_address
	@remote_address ||= peer.remote_address
end | 
 
    
      
  
  
    #remote_address=(value)  ⇒ Object 
  
  
  
  
    | 
50
51
52 | # File 'lib/async/http/protocol/response.rb', line 50
def remote_address= value
	@remote_address = value
end |