16 #ifndef ALEXA_CLIENT_SDK_ACL_TEST_TRANSPORT_MOCKMIMERESPONSESINK_H_ 17 #define ALEXA_CLIENT_SDK_ACL_TEST_TRANSPORT_MOCKMIMERESPONSESINK_H_ 49 bool onBeginMimePart(
const std::multimap<std::string, std::string>& headers)
override;
73 std::vector<std::vector<char>> m_mimeContents;
76 std::vector<char> m_mimeCurrentContent;
void onResponseFinished(avsCommon::utils::http2::HTTP2ResponseFinishedStatus status) override
Definition: MockMimeResponseSink.cpp:59
bool onEndMimePart() override
Definition: MockMimeResponseSink.cpp:48
Definition: HTTP2MimeResponseSinkInterface.h:36
Definition: AmdMetricWrapperTest.cpp:24
::std::string string
Definition: gtest-port.h:1097
avsCommon::utils::http2::HTTP2ReceiveDataStatus onReceiveNonMimeData(const char *bytes, size_t size) override
Definition: MockMimeResponseSink.cpp:53
avsCommon::utils::http2::HTTP2ReceiveDataStatus onReceiveMimeData(const char *bytes, size_t size) override
Definition: MockMimeResponseSink.cpp:39
Definition: MockMimeResponseSink.h:33
bool onReceiveHeaderLine(const std::string &line) override
Definition: MockMimeResponseSink.cpp:30
bool onReceiveResponseCode(long responseCode) override
Definition: MockMimeResponseSink.cpp:26
bool onBeginMimePart(const std::multimap< std::string, std::string > &headers) override
Definition: MockMimeResponseSink.cpp:34
virtual ~MockMimeResponseSink()=default
std::vector< char > getMimePart(unsigned part)
Definition: MockMimeResponseSink.cpp:62
HTTP2ResponseFinishedStatus
Definition: HTTP2ResponseFinishedStatus.h:29
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
unsigned getCountOfMimeParts()
Definition: MockMimeResponseSink.cpp:66
MockMimeResponseSink()
Definition: MockMimeResponseSink.cpp:22
HTTP2ReceiveDataStatus
Definition: HTTP2ReceiveDataStatus.h:28