Class: HTTPClient::Session

Class | HTTPClient::Session
In: | lib/httpclient/session.rb lib/httpclient.rb
Parent: | Object

Deprecated. just for backward compatibility

### Methods

close closed? eof? get_body get_header new query

### Included Modules

HTTPClient::Timeout

### Constants

StatusParseRegexp | = | %r(\AHTTP/(\d+\.\d+)\s+(\d\d\d)\s*([^\r\n]+)?\r?\n\z)
RS | = | "\r\n"
BadResponse | = | ::HTTPClient::BadResponseError

### Attributes

connect_retry | [RW] |
connect_timeout | [RW] |
debug_dev | [RW] | Device for dumping log for debugging
dest | [R] | Destination site
protocol_retry_count | [RW] |
proxy | [RW] | Proxy site
read_block_size | [RW] |
receive_timeout | [RW] |
requested_version | [RW] | Requested protocol version
send_timeout | [RW] |
socket_sync | [RW] | Boolean value for Socket#sync
ssl_config | [RW] |
ssl_peer_cert | [R] |
test_loopback_http_response | [RW] |

### Public Class methods

new(client, dest, agent_name, from)

### Public Instance methods

close()
closed?()
eof?()
get_body(&block)
get_header()
query(req)

Send a request to the server

[Validate]