Implements hxWebSockets, and Implements Functionality to connect to a Server as a Client. - #803
Conversation
…es, FunkinPacket.
|
The idea here is we use HTTP formatting for client recieving and sending, to make it at least somewhat easy to manage and understand, we can't really use real HTTP requests because ofc it's a WebSocket now, so we just send data directly, but just making a standard way of communicating to the Template Server. You can also disable |
|
oh my socks |
|
when |
|
You still busy? bruh |
…FunkinWebSocket`, and update it to reflect new `FunkinPacket`
…CodenameEngine into internet-utils-better
|
Currently this only supports CodenameEngine as a CLIENT, if you want it to run as a Server then I'll make another PR later down the line to add it, shouldn't be too bad but who would want CNE as a Server is the reason why I don't want to make it lol |
|
praying it never gets merged |
|
praying this gets merged when lelm is released (aka never) |
|
this is ready to be merged btw |
… never return null ig
…e binary files easier
|
lelm is done but it is not released so no this is not ready to be merged yet |
… Server as a Client. (#803) * peak incoming * FUCKING HELL I GIVE UP FUCK IT USE hxWebSocket BRUHH * it just works* Implementing a way to addon to the Handshake Header * so guys, i am the smart, trust
* Properly converts the message from the server into either String, Bytes, FunkinPacket. * Documentation on `FunkinWebSocket` and added `Metrics` to it :) * whoop * Reformatted how `FunkinPacket` is managed, and fixed some issues in `FunkinWebSocket`, and update it to reflect new `FunkinPacket` * Small fixes and small features I forgor to implement * ocd bro I can't leave this chilling in changes bro im sorry * fix to ensure that `fromJson` and `appendJson` in `FunkinPacket` will never return null ig * Fixed an issue where the client would crash if the server sent a raw string. * QOL implementation to actually use `FunkinPacket.status` inside `FunkinWebSocket` * implement `send_bytes` in source with Threading, so you can send large binary files easier
… Server as a Client. (#803) * peak incoming * FUCKING HELL I GIVE UP FUCK IT USE hxWebSocket BRUHH * it just works* Implementing a way to addon to the Handshake Header * so guys, i am the smart, trust
* Properly converts the message from the server into either String, Bytes, FunkinPacket. * Documentation on `FunkinWebSocket` and added `Metrics` to it :) * whoop * Reformatted how `FunkinPacket` is managed, and fixed some issues in `FunkinWebSocket`, and update it to reflect new `FunkinPacket` * Small fixes and small features I forgor to implement * ocd bro I can't leave this chilling in changes bro im sorry * fix to ensure that `fromJson` and `appendJson` in `FunkinPacket` will never return null ig * Fixed an issue where the client would crash if the server sent a raw string. * QOL implementation to actually use `FunkinPacket.status` inside `FunkinWebSocket` * implement `send_bytes` in source with Threading, so you can send large binary files easier

This is still heavily a WIP because I am building a server along-side making this as a template.
You are more than welcome to also make commits to this PR if you think I fucked something up lol