Documentation
¶
Overview ¶
Package ssestream incrementally decodes Qoder server-sent events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
func NewDecoder ¶
type Stream ¶
type Stream[T any] struct { // contains filtered or unexported fields }
func (*Stream[T]) LastEventID ¶
LastEventID can be passed as a Last-Event-ID header when the caller reconnects.
Click to show internal directories.
Click to hide internal directories.