Skip to content

Commit 03a5f44

Browse files
authored
feat(sse): reconnecting client with Last-Event-ID replay and backoff (#4)
PR: #4
1 parent 481c09c commit 03a5f44

8 files changed

Lines changed: 943 additions & 47 deletions

File tree

packages/dexpace-sdk-core/src/dexpace/sdk/core/http/sse/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
# Copyright (c) 2026 dexpace and Omar Aljarrah.
22
# Licensed under the MIT License. See LICENSE.md in the repository root for details.
33

4-
"""WHATWG-spec Server-Sent Events parsing."""
4+
"""WHATWG-spec Server-Sent Events parsing and reconnecting client."""
55

66
from __future__ import annotations
77

8+
from .connection import AsyncSseConnection, SseConnection
89
from .parser import AsyncSseStream, SseEvent, SseParser, parse_async_events, parse_events
910

1011
__all__ = [
12+
"AsyncSseConnection",
1113
"AsyncSseStream",
14+
"SseConnection",
1215
"SseEvent",
1316
"SseParser",
1417
"parse_async_events",

0 commit comments

Comments
 (0)