Class: WebSocket::HTTP::Request
- Inherits:
-
Object
- Object
- WebSocket::HTTP::Request
- Includes:
- Headers
- Defined in:
- lib/websocket/http/request.rb
Constant Summary collapse
- REQUEST_LINE =
/^(OPTIONS|GET|HEAD|POST|PUT|DELETE|TRACE|CONNECT) ([\x21-\x7e]+) (HTTP\/[0-9]+\.[0-9]+)$/
- REQUEST_TARGET =
/^(.*?)(\?(.*))?$/
- RESERVED_HEADERS =
%w[content-length content-type]
Constants included from Headers
Headers::CR, Headers::HEADER_LINE, Headers::LF, Headers::MAX_LINE_LENGTH
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Attributes included from Headers
Method Summary
Methods included from Headers
#complete?, #error?, #initialize, #parse
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
11 12 13 |
# File 'lib/websocket/http/request.rb', line 11 def env @env end |