sse-streaming

Community

Reliably stream and parse Perplexity SSE.

Authorpv-udpv
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Implement and debug robust Server-Sent Events streaming for the Perplexity API, including parsing event streams, handling comments, buffering data, and resilience against disconnections.

Core Features & Use Cases

  • Robust SSE parsing that correctly interprets event: and data: lines
  • Automatic reconnection with exponential backoff on failures
  • Cursor-based resumption and partial result recovery after disconnects
  • Debug-friendly tracing and instrumentation to support development and QA

Quick Start

Run a local SSE streaming test to verify parsing, reconnection, and retry behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sse-streaming
Download link: https://github.com/pv-udpv/pplx-sdk/archive/main.zip#sse-streaming

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.