MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / HTTPClientSession

Method HTTPClientSession

base/poco/Net/src/HTTPClientSession.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44
45HTTPClientSession::HTTPClientSession():
46 _port(HTTPSession::HTTP_PORT),
47 _proxyConfig(_globalProxyConfig),
48 _keepAliveTimeout(DEFAULT_KEEP_ALIVE_TIMEOUT, 0),
49 _reconnect(false),
50 _mustReconnect(false),
51 _expectResponseBody(false),
52 _responseReceived(false)
53{
54 _proxySessionFactory.registerProtocol("http", new HTTPSessionInstantiator);
55}
56
57
58HTTPClientSession::HTTPClientSession(const StreamSocket& socket):

Callers

nothing calls this directly

Calls 4

registerProtocolMethod · 0.80
toStringMethod · 0.45
hostMethod · 0.45
portMethod · 0.45

Tested by

no test coverage detected