base websockets working

This commit is contained in:
arhamGIT committed 2023-01-04 04:34:44 -05:00
1 parent 320427c9c5
commit 4c91538f22
6 files changed
+414 -26

No files matched your search

+4 -1
View File
@@ -4,13 +4,16 @@
class Program {
static int Main(string[] args) {
Console.WriteLine("Starting spark_api_server...");
Console.WriteLine("Starting spark_api_server... just checking build");
// TODO
bts.websocket_core.WebsocketDataSync sync =
new bts.websocket_core.WebsocketDataSync();
bts.websocket_core.WebsocketConnectionGateway gwy =
new bts.websocket_core.WebsocketConnectionGateway();
bts.websocket_core.WebsocketServerParams prms = new bts.websocket_core.WebsocketServerParams();
gwy.init(sync);
sync.init(gwy);
gwy.start_listening(prms);
while (true) {
System.Threading.Thread.Sleep(100);
}