8#include <aws/core/Core_EXPORTS.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/event/EventStreamHandler.h>
11#include <aws/event-stream/event_stream.h>
28 inline explicit operator bool()
const {
return *m_eventStreamHandler; }
56 aws_event_stream_streaming_decoder* decoder,
57 aws_byte_buf* payload,
58 int8_t isFinalSegment,
68 aws_event_stream_streaming_decoder* decoder,
69 aws_event_stream_message_prelude* prelude,
80 aws_event_stream_streaming_decoder* decoder,
81 aws_event_stream_message_prelude* prelude,
82 aws_event_stream_header_value_pair* header,
94 aws_event_stream_streaming_decoder* decoder,
95 aws_event_stream_message_prelude* prelude,
static void onError(aws_event_stream_streaming_decoder *decoder, aws_event_stream_message_prelude *prelude, int errorCode, const char *message, void *context)
static void onPreludeReceived(aws_event_stream_streaming_decoder *decoder, aws_event_stream_message_prelude *prelude, void *context)
void Pump(const ByteBuffer &data, size_t length)
EventStreamDecoder(EventStreamHandler *handler)
void ResetEventStreamHandler(EventStreamHandler *handler)
EventStreamHandler * m_eventStreamHandler
static void onHeaderReceived(aws_event_stream_streaming_decoder *decoder, aws_event_stream_message_prelude *prelude, aws_event_stream_header_value_pair *header, void *context)
static void onPayloadSegment(aws_event_stream_streaming_decoder *decoder, aws_byte_buf *payload, int8_t isFinalSegment, void *context)
aws_event_stream_streaming_decoder m_decoder
void Pump(const ByteBuffer &data)