pulsatrix 1.1.0
Loading...
Searching...
No Matches
sse.hpp File Reference

A parser for server-sent events, the format LLM APIs stream their responses in. More...

#include <chrono>
#include <cstddef>
#include <functional>
#include <optional>
#include <string>
#include <string_view>
Include dependency graph for sse.hpp:

Go to the source code of this file.

Classes

struct  pulsatrix::orch::SseEvent
 One server-sent event. More...
 
class  pulsatrix::orch::SseParser
 Parses a text/event-stream body fed in chunks of any size, as the WHATWG HTML specification defines it. More...
 

Namespaces

namespace  pulsatrix
 
namespace  pulsatrix::orch
 

Detailed Description

A parser for server-sent events, the format LLM APIs stream their responses in.