From cddca44d348ac0259a3c71fd5ff4c0276ed1153e Mon Sep 17 00:00:00 2001 From: ruri Date: Wed, 24 Apr 2019 01:24:18 +0200 Subject: [PATCH] Implemented WebSocket frames support in TCP block. --- OpenBullet/LSDoc.xml | 2 +- .../Pages/StackerBlocks/PageBlockTCP.xaml | 1 + RuriLib/Blocks/BlockTCP.cs | 67 ++++++++++++++++++- 3 files changed, 66 insertions(+), 4 deletions(-) diff --git a/OpenBullet/LSDoc.xml b/OpenBullet/LSDoc.xml index 52b0a86..4853d02 100644 --- a/OpenBullet/LSDoc.xml +++ b/OpenBullet/LSDoc.xml @@ -367,7 +367,7 @@ TCP COMMAND [ARGUMENTS] Allowed Commands: CONNECT "HOST" "PORT" [UseSSL?] [-> VAR/CAP "NAME"] -SEND "MESSAGE" [-> VAR/CAP "NAME"] +SEND "MESSAGE" [WebSocket?] [-> VAR/CAP "NAME"] DISCONNECT Example: diff --git a/OpenBullet/Pages/StackerBlocks/PageBlockTCP.xaml b/OpenBullet/Pages/StackerBlocks/PageBlockTCP.xaml index 34ac6f9..5e3d8a0 100644 --- a/OpenBullet/Pages/StackerBlocks/PageBlockTCP.xaml +++ b/OpenBullet/Pages/StackerBlocks/PageBlockTCP.xaml @@ -57,6 +57,7 @@