Class: HTTPClient::SessionManager

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

Manages sessions for a HTTPClient instance.

### Methods

keep new proxy= query reset reset_all

### Attributes

agent_name | [RW] | Name of this client. Used for ‘User-Agent’ header in HTTP request.
chunk_size | [RW] | Chunk size for chunked request
connect_retry | [RW] | Maximum retry count. 0 for infinite.
connect_timeout | [RW] |
debug_dev | [RW] | Device for dumping log for debugging
from | [RW] | Owner of this client. Used for ‘From’ header in HTTP request.
protocol_retry_count | [RW] |
protocol_version | [RW] | Requested protocol version
read_block_size | [RW] |
receive_timeout | [RW] |
send_timeout | [RW] |
socket_sync | [RW] | Boolean value for Socket#sync
ssl_config | [RW] |
test_loopback_http_response | [R] |

### Public Class methods

new(client)

### Public Instance methods

keep(sess)
proxy=(proxy)
query(req, via_proxy)
reset(uri)
reset_all()

[Validate]