MCPcopy Create free account
hub / github.com/comaps/comaps / OnWrite

Method OnWrite

libs/platform/http_request.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 MemWriter<string> m_writer;
63
64 virtual bool OnWrite(int64_t, void const * buffer, size_t size)
65 {
66 m_writer.Write(buffer, size);
67 m_progress.m_bytesDownloaded += size;
68 if (m_onProgress)
69 m_onProgress(*this);
70 return true;
71 }
72
73 virtual void OnFinish(long httpOrErrorCode, int64_t, int64_t)
74 {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected