30namespace neograph::async {
38class NEOGRAPH_API SseEventParser {
42 void feed(std::string_view bytes);
46 std::vector<SseEvent> drain();
51 void reset() noexcept;
54 void consume_line(std::string_view line);
58 std::
string cur_data_;
59 std::
string cur_event_;
61 bool cur_in_progress_ = false;
62 std::vector<SseEvent> pending_;
NEOGRAPH_API export/import macro for shared-library builds.