Interface SseConnection


public interface SseConnection
Represents characteristics of a long-running connection that has been established with a SseServer.

Instances are exposed via LifecycleObserver, which enables you to monitor events that occur on the connection over time (established, SSE payload written, terminated, etc.)

See https://www.soklet.com/docs/server-sent-events for general Server-Sent Event documentation and https://www.soklet.com/docs/request-lifecycle#server-sent-events for lifecycle-specific documentation.

Author:
Mark Allen
  • Method Details