curl/Request: move struct Pause to class CurlResponseHandler

This commit is contained in:
Max Kellermann
2020-12-11 14:04:16 +01:00
committed by Max Kellermann
parent 5d7ff150dd
commit 1e3089ffb7
4 changed files with 11 additions and 8 deletions

View File

@@ -146,12 +146,6 @@ public:
easy.SetRequestBody(data, size);
}
/**
* CurlResponseHandler::OnData() shall throw this to pause the
* stream. Call Resume() to resume the transfer.
*/
struct Pause {};
void Resume() noexcept;
/**