ClientSSESession

A client session for handling Server-Sent Events (SSE) from a server.

Report a problem

Constructors

Link copied to clipboard
constructor(call: HttpClientCall, delegate: SSESession)

Properties

Link copied to clipboard

The HTTP call associated with the session.

Link copied to clipboard
Link copied to clipboard
open override val incoming: Flow<ServerSentEvent>

An incoming Server-Sent Events (SSE) flow.

Functions

Link copied to clipboard
open override fun bodyBuffer(): ByteArray

Returns a diagnostic buffer of SSE data that has already been processed by this session.