MCPcopy Create free account
hub / github.com/acl-dev/acl / http_client

Method http_client

app/master/daemon/manage/http_client.cpp:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "http_client.h"
12
13http_client::http_client(acl::aio_socket_stream *client, int rw_timeout)
14: conn_(client->get_astream())
15, rw_timeout_(rw_timeout)
16, content_length_(0)
17{
18 hdr_req_ = NULL;
19 req_ = NULL;
20 acl_aio_add_close_hook(conn_, on_close, this);
21 acl_aio_add_timeo_hook(conn_, on_timeo, this);
22}
23
24http_client::~http_client(void)
25{

Callers

nothing calls this directly

Calls 3

acl_aio_add_close_hookFunction · 0.85
acl_aio_add_timeo_hookFunction · 0.85
get_astreamMethod · 0.80

Tested by

no test coverage detected