MCPcopy Create free account
hub / github.com/chen3feng/toft / DownloadTask

Method DownloadTask

net/http/client.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80class DownloadTask {
81public:
82 explicit DownloadTask(HttpClient *http_client)
83 : m_connector(AF_INET, IPPROTO_TCP),
84 m_error_code(HttpClient::SUCCESS),
85 m_max_response_length(0)
86 {
87 m_connector.SetLinger(true, 1);
88 m_http_client = http_client;
89 }
90
91 ~DownloadTask()
92 {

Callers

nothing calls this directly

Calls 1

SetLingerMethod · 0.80

Tested by

no test coverage detected