Class: Async::HTTP::Protocol::Request
  
  
  
  
  
    - Inherits:
- 
      Protocol::HTTP::Request
      
        
          - Object
- Protocol::HTTP::Request
- Async::HTTP::Protocol::Request
 show all
    - Defined in:
- lib/async/http/protocol/request.rb
 
Overview
  
    
This is generated by server protocols.
   
 
  
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
    Instance Method Details
    
      
  
  
    #connection  ⇒ Object 
  
  
  
  
    | 
20
21
22 | # File 'lib/async/http/protocol/request.rb', line 20
def connection
	nil
end | 
 
    
      
  
  
    #hijack?  ⇒ Boolean 
  
  
  
  
    | 
24
25
26 | # File 'lib/async/http/protocol/request.rb', line 24
def hijack?
	false
end | 
 
    
      
  
  
    #inspect  ⇒ Object 
  
  
  
  
    | 
39
40
41 | # File 'lib/async/http/protocol/request.rb', line 39
def inspect
	"#<#{self.class}:0x#{self.object_id.to_s(16)} method=#{method} path=#{path} version=#{version}>"
end | 
 
    
      
  
  
    #peer  ⇒ Object 
  
  
  
  
    | 
31
32
33 | # File 'lib/async/http/protocol/request.rb', line 31
def peer
	self.connection&.peer
end | 
 
    
      
  
  
    #remote_address  ⇒ Object 
  
  
  
  
    | 
35
36
37 | # File 'lib/async/http/protocol/request.rb', line 35
def remote_address
	self.peer&.address
end | 
 
    
      
  
  
    #write_interim_response(status, headers = nil)  ⇒ Object 
  
  
  
  
    | 
28
29 | # File 'lib/async/http/protocol/request.rb', line 28
def write_interim_response(status,  = nil)
end |