Package 

Class BotApiWebSocketClientKt

    • Method Summary

      Modifier and Type Method Description
      final Unit )>startWithDemo(<ERROR CLASS> botDefinition) Starts a bot using the demo server.
      final Unit ,String)>start(<ERROR CLASS> botDefinition, String url) Starts a client.
      final Unit ,Integer,String,Boolean)>start(<ERROR CLASS> 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(<ERROR CLASS> botDefinition)

        Starts a bot using the demo server.

      • start

         final Unit ,String)>start(<ERROR CLASS> botDefinition, String url)

        Starts a client.

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

         final Unit ,Integer,String,Boolean)>start(<ERROR CLASS> 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 ?