tool.twitch.CustomSocketConnection
tool.twitch.CustomSocketConnection
Fields
| Name | Type | |
|---|---|---|
socket | sys.net.Socket | |
address | String | |
port | I32 | |
cd | tool.Cooldown | |
exponentialWait | F64 | |
connected | Bool | |
connecting | Bool | |
destroyed | Bool | |
onCooldownEnd | Fun | |
onMessage | Fun | |
onError | Fun | |
buffer | String |
Protos
f@5140disconnect(tool.twitch.CustomSocketConnection) → Voidf@5141reconnect(tool.twitch.CustomSocketConnection) → Voidf@5143sendConnectionData(tool.twitch.CustomSocketConnection) → Voidf@5146analyse(tool.twitch.CustomSocketConnection, String) → Voidf@5147sendMessage(tool.twitch.CustomSocketConnection, String, String) → Voidf@5148destroy(tool.twitch.CustomSocketConnection) → Voidf@5149preUpdate(tool.twitch.CustomSocketConnection, F64) → Voidf@5150update(tool.twitch.CustomSocketConnection) → Void
Bindings
f@5145onError(tool.twitch.CustomSocketConnection, String, String) → Voidf@5144onMessage(tool.twitch.CustomSocketConnection, String, String) → Voidf@5142onCooldownEnd(tool.twitch.CustomSocketConnection, String, I32) → Void- static
f@5189__constructor__(tool.twitch.CustomSocketConnection, String, Null) → Void