parseEventId

Parse an SSE event id of the form <ordinal>-<seq> (the per-stream cursor ServerPushChannel stamps on every event) back into its components. Returns true with ordinal/seq populated on success, false for any malformed input (empty, no dash, non-numeric, negative). Used to interpret a reconnecting client's Last-Event-ID so the server can replay events after that cursor on the stream it identifies (basic/transports §Resumability and Redelivery).

@safe pure nothrow
bool
parseEventId
(
string id
,
out long ordinal
,
out long seq
)