- All Superinterfaces:
BaseStreaming
- All Known Implementing Classes:
MastodonStreaming
Contains all streaming related call methods not relay on request response.
- See Also:
-
Method Summary
Methods inherited from interface org.mastodon4j.core.api.BaseStreaming
health
-
Method Details
-
stream
EventStream stream()Establishing a WebSocket connection.Open a multiplexed WebSocket connection to receive events.
The status stream object returned by this method needs to be closed by the consumer when no longer needed in order for the underlying websocket to be closed.
- Returns:
- a new closable status stream object
-