websocket library
This file exposes the websocket interface to Mattermost. Since it is not defined in the openAPI spec, we have to implement it manually here.
See the Javascript implementation here:
github.com/mattermost/mattermost-redux/blob/master/src/client/websocket_client.ts
Classes
- MattermostWebsocketClient
- Implements a client for a Mattermost websocket connection
- MmWsAction
- Represents a Mattermost websocket action. This is what you send to the websocket endpoint.
- MmWsEvent
- Mattermost Websocket event message Documentation is here: https://api.mattermost.com/#tag/WebSocket
- MmWsEventHello
- MmWsEventPosted
- MmWsMessage
- Parent class for Mattermost websocket messages
- MmWsReply
- Mattermost websocket reply messages come as replies to websocket action requests
Enums
- MmWsActionResponseStatus
- Mattermost websocket action response status