16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_AVSCOMMON_UTILS_HTTP2_MOCKHTTP2MIMEREQUESTENCODESOURCE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_AVSCOMMON_UTILS_HTTP2_MOCKHTTP2MIMEREQUESTENCODESOURCE_H_ 40 const std::vector<std::string>&
m_data,
41 const std::vector<std::vector<std::string>>&
m_headers);
59 std::vector<std::string>
m_data;
85 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_TEST_AVSCOMMON_UTILS_HTTP2_MOCKHTTP2MIMEREQUESTENCODESOURCE_H_ std::vector< std::vector< std::string > > m_headers
Stores the MIME header parts.
Definition: MockHTTP2MimeRequestEncodeSource.h:63
std::vector< std::string > m_data
Stores the MIME data parts.
Definition: MockHTTP2MimeRequestEncodeSource.h:60
size_t m_pauseCount
PAUSE count.
Definition: MockHTTP2MimeRequestEncodeSource.h:78
bool m_slowSource
Enable sending PAUSE intermittently.
Definition: MockHTTP2MimeRequestEncodeSource.h:72
std::vector< std::string > getRequestHeaderLines() override
Definition: MockHTTP2MimeRequestEncodeSource.cpp:67
Definition: HTTP2MimeRequestSourceInterface.h:35
Definition: MockHTTP2MimeRequestEncodeSource.h:31
HTTP2SendDataResult onSendMimePartData(char *bytes, size_t size) override
Definition: MockHTTP2MimeRequestEncodeSource.cpp:45
size_t m_index
Index of current MIME part being read.
Definition: MockHTTP2MimeRequestEncodeSource.h:69
HTTP2GetMimeHeadersResult getMimePartHeaderLines() override
Definition: MockHTTP2MimeRequestEncodeSource.cpp:31
bool m_abort
If ABORT is to be sent.
Definition: MockHTTP2MimeRequestEncodeSource.h:75
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
MockHTTP2MimeRequestEncodeSource(const std::vector< std::string > &m_data, const std::vector< std::vector< std::string >> &m_headers)
Definition: MockHTTP2MimeRequestEncodeSource.cpp:71
size_t m_bytesWritten
Index into the current MIME data part.
Definition: MockHTTP2MimeRequestEncodeSource.h:66
~MockHTTP2MimeRequestEncodeSource()=default
Definition: HTTP2SendDataResult.h:32