Hermes.SSE.Parser (hermes_mcp v0.3.3)

Parses a raw SSE stream into a list of %SSE.Event{} structs.

Summary

Functions

Parses a string containing one or more SSE events.

Functions

run(sse_data)

Parses a string containing one or more SSE events.

Each event is separated by an empty line (two consecutive newlines). Returns a list of %SSE.Event{} structs.