16 #ifndef ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_MIMERESPONSESINK_H_ 17 #define ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_MIMERESPONSESINK_H_ 48 std::shared_ptr<MimeResponseStatusHandlerInterface> handler,
49 std::shared_ptr<MessageConsumerInterface> messageConsumer,
50 std::shared_ptr<avsCommon::avs::attachment::AttachmentManagerInterface> attachmentManager,
62 bool onBeginMimePart(
const std::multimap<std::string, std::string>& headers)
override;
90 std::shared_ptr<MimeResponseStatusHandlerInterface> m_handler;
93 std::shared_ptr<MessageConsumerInterface> m_messageConsumer;
96 std::shared_ptr<avsCommon::avs::attachment::AttachmentManagerInterface> m_attachmentManager;
99 ContentType m_contentType;
117 std::unique_ptr<avsCommon::avs::attachment::AttachmentWriter> m_attachmentWriter;
126 #endif // ALEXA_CLIENT_SDK_ACL_INCLUDE_ACL_TRANSPORT_MIMERESPONSESINK_H_ bool onReceiveHeaderLine(const std::string &line) override
MimeResponseSink(std::shared_ptr< MimeResponseStatusHandlerInterface > handler, std::shared_ptr< MessageConsumerInterface > messageConsumer, std::shared_ptr< avsCommon::avs::attachment::AttachmentManagerInterface > attachmentManager, std::string attachmentContextId)
Definition: HTTP2MimeResponseSinkInterface.h:36
::std::string string
Definition: gtest-port.h:1097
bool onEndMimePart() override
virtual ~MimeResponseSink()=default
HTTP2ResponseFinishedStatus
Definition: HTTP2ResponseFinishedStatus.h:29
avsCommon::utils::http2::HTTP2ReceiveDataStatus onReceiveNonMimeData(const char *bytes, size_t size) override
void onResponseFinished(avsCommon::utils::http2::HTTP2ResponseFinishedStatus status) override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool onBeginMimePart(const std::multimap< std::string, std::string > &headers) override
avsCommon::utils::http2::HTTP2ReceiveDataStatus onReceiveMimeData(const char *bytes, size_t size) override
Definition: MimeResponseSink.h:37
HTTP2ReceiveDataStatus
Definition: HTTP2ReceiveDataStatus.h:28
bool onReceiveResponseCode(long responseCode) override