| Class | WebSocket::Handshake::Base |
| In: |
lib/websocket/handshake/base.rb
|
| Parent: | Object |
@abstract Subclass and override to implement custom handshakes
| HEADER | = | /^([^:]+):\s*(.+)$/ |
| headers | [R] | |
| host | [R] | |
| path | [R] | |
| port | [R] | |
| protocols | [R] | |
| query | [R] | |
| secure | [R] | |
| state | [R] | |
| version | [R] |
Is parsing of data finished? @return [Boolena] True if request was completely parsed or error occured. False otherwise
Data left from parsing. Sometimes data that doesn‘t belong to handshake are added - use this method to retrieve them. @return [String] String if some data are available. Nil otherwise