Class | EventMachine::HttpClient |
In: |
lib/em-http/client.rb
|
Parent: | Connection |
TRANSFER_ENCODING | = | "TRANSFER_ENCODING" |
CONTENT_ENCODING | = | "CONTENT_ENCODING" |
CONTENT_LENGTH | = | "CONTENT_LENGTH" |
CONTENT_TYPE | = | "CONTENT_TYPE".freeze |
LAST_MODIFIED | = | "LAST_MODIFIED" |
KEEP_ALIVE | = | "CONNECTION" |
SET_COOKIE | = | "SET_COOKIE" |
LOCATION | = | "LOCATION" |
HOST | = | "HOST" |
ETAG | = | "ETAG" |
CRLF | = | "\r\n" |
error | [R] | |
last_effective_url | [R] | |
method | [RW] | |
options | [RW] | |
redirects | [R] | |
response | [R] | |
response_header | [R] | |
uri | [RW] |
determines if a proxy should be used that uses http-headers as proxy-mechanism
this is the default proxy type if none is specified
raw data push from the client (WebSocket) should only be invoked after handshake, otherwise it will inject data into the header exchange
frames need to start with 0x00-0x7f byte and end with an 0xFF byte. Per spec, we can also set the first byte to a value betweent 0x80 and 0xFF, followed by a leading length indicator