SSEConfig

class SSEConfig

A config for the SSE plugin.

Report a problem

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The maximum amount of retries to perform for a reconnection request. To enable reconnection, set this value to a number greater than 0.

Link copied to clipboard

The reconnection time. If the connection to the server is lost, the client will wait for the specified time before attempting to reconnect.

Functions

Link copied to clipboard

Adds events consisting only of comments in the incoming flow.

Link copied to clipboard

Adds events consisting only of the retry field in the incoming flow.