Package 

Class BotApiWebSocketClientKt

    • Method Summary

      Modifier and Type Method Description
      final Unit startWithDemo(ClientBotDefinition botDefinition) Starts a bot using the demo server.
      final Unit start(ClientBotDefinition botDefinition, String url) Starts a client.
      final Unit start(ClientBotDefinition botDefinition, Integer serverPort, String serverHost, Boolean ssl) Starts a client.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • startWithDemo

         final Unit startWithDemo(ClientBotDefinition botDefinition)

        Starts a bot using the demo server.

      • start

         final Unit start(ClientBotDefinition botDefinition, String url)

        Starts a client.

        Parameters:
        botDefinition - the ClientBotDefinition
        url - the target server url
      • start

         final Unit start(ClientBotDefinition botDefinition, Integer serverPort, String serverHost, Boolean ssl)

        Starts a client.

        Parameters:
        botDefinition - the ClientBotDefinition
        serverPort - the server port
        serverHost - the server host
        ssl - is it ssl ?