WebsocketAction

Data object representing a websocket action to build connection url or post-request url for a given action to perform the websocket action.

  • It is received in WebsocketClient.connect, WebsocketClient.sendPostRequest

  • Default WebsocketClient uses it by calling buildWebsocketConnectionUrl or buildPostRequestUrl without any modification.

  • Custom WebsocketClient can receive it and modify or even discard altogether and use a custom path.

Properties

Link copied to clipboard
abstract val connectionUrl: String
Link copied to clipboard
abstract val postRequestUrl: String
Link copied to clipboard
abstract val protocol: String