Class: UU::OS::HTTP::HTTPRequest
- Inherits:
-
Object
- Object
- UU::OS::HTTP::HTTPRequest
- Defined in:
- uu_os_connection-2.2.4/lib/uu/os/http/http_request.rb
Overview
HTTP request.
Instance Attribute Summary (collapse)
-
- (Hash, ...) body
readonly
Request body.
-
- (UU::OS::HTTP::HTTPHeaders) headers
readonly
Request headers.
-
- (Symbol) method
readonly
HTTP method.
-
- (UU::OS::HTTP::HTTPQuery) parameters
readonly
Query parameters.
-
- (String) url
readonly
Request URL.
Instance Attribute Details
- (Hash, ...) body (readonly)
Request body. Note that in case of IO which does not support rewind operation, data may not be readable since stream was already consumed.
31 32 33 |
# File 'uu_os_connection-2.2.4/lib/uu/os/http/http_request.rb', line 31 def body @body end |
- (UU::OS::HTTP::HTTPHeaders) headers (readonly)
Request headers.
21 22 23 |
# File 'uu_os_connection-2.2.4/lib/uu/os/http/http_request.rb', line 21 def headers @headers end |
- (Symbol) method (readonly)
HTTP method.
17 18 19 |
# File 'uu_os_connection-2.2.4/lib/uu/os/http/http_request.rb', line 17 def method @method end |
- (UU::OS::HTTP::HTTPQuery) parameters (readonly)
Query parameters.
25 26 27 |
# File 'uu_os_connection-2.2.4/lib/uu/os/http/http_request.rb', line 25 def parameters @parameters end |
- (String) url (readonly)
Request URL.
13 14 15 |
# File 'uu_os_connection-2.2.4/lib/uu/os/http/http_request.rb', line 13 def url @url end |