public class BotApiWebSocketClientKt
| Modifier and Type | Method and Description |
|---|---|
static void |
start(ai.tock.bot.api.client.ClientBotDefinition botDefinition,
java.lang.String url)
Starts a client.
|
static void |
start(ai.tock.bot.api.client.ClientBotDefinition botDefinition,
int serverPort,
java.lang.String serverHost,
boolean ssl)
Starts a client.
|
static void |
startWithDemo(ai.tock.bot.api.client.ClientBotDefinition botDefinition)
Starts a bot using the demo server.
|
public static void startWithDemo(@NotNull
ai.tock.bot.api.client.ClientBotDefinition botDefinition)
Starts a bot using the demo server.
public static void start(@NotNull
ai.tock.bot.api.client.ClientBotDefinition botDefinition,
@NotNull
java.lang.String url)
Starts a client.
botDefinition - the ClientBotDefinitionurl - the target server urlpublic static void start(@NotNull
ai.tock.bot.api.client.ClientBotDefinition botDefinition,
int serverPort,
@NotNull
java.lang.String serverHost,
boolean ssl)
Starts a client.
botDefinition - the ClientBotDefinitionserverPort - the server portserverHost - the server hostssl - is it ssl ?