Class AppbaseWebsocketRequest


  • public class AppbaseWebsocketRequest
    extends Object
    • Constructor Detail

      • AppbaseWebsocketRequest

        public AppbaseWebsocketRequest​(com.google.gson.JsonObject json,
                                       String baseURL)
    • Method Detail

      • execute

        public AppbaseWebsocketClient execute​(Stream appbaseOnMessage)
        Parameters:
        appbaseOnMessage - The implementation of abstract methods is used once the connection has been established.
        Returns:
        Connects to the websocket and implements the methods onMessage (and maybe other overridden ones of the Stream object).