16 #ifndef ACSDKASSETSCOMMON_RESPONSESINK_H_ 17 #define ACSDKASSETSCOMMON_RESPONSESINK_H_ 27 namespace acsdkAssets {
40 ResponseSink(
const std::shared_ptr<commonInterfaces::DavsRequest>& request,
const std::string& workingDirectory);
51 std::shared_ptr<commonInterfaces::VendableArtifact>
getArtifact();
73 bool parser(std::shared_ptr<DownloadChunkQueue>& downloadChunkQueue);
87 void setData(
const char* buffer,
size_t size);
96 enum class ContentType {
106 ContentType m_contentType;
112 std::shared_ptr<DownloadStream> m_attachment;
121 std::shared_ptr<commonInterfaces::DavsRequest> m_request;
124 std::shared_ptr<commonInterfaces::VendableArtifact> m_artifact;
134 #endif // ACSDKASSETSCOMMON_RESPONSESINK_H_ bool parser(std::shared_ptr< DownloadChunkQueue > &downloadChunkQueue)
virtual ~ResponseSink()=default
::std::string string
Definition: gtest-port.h:1097
ResponseSink(const std::shared_ptr< commonInterfaces::DavsRequest > &request, const std::string &workingDirectory)
std::string getArtifactPath()
bool onHeader(const std::string &header)
Definition: ResponseSink.h:34
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
type
Definition: upload.py:443
std::shared_ptr< commonInterfaces::VendableArtifact > getArtifact()