You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your server does not support HTTPS, I recommend using an HTTPS proxy. SecureProxyLink is a great option that you can host for free on platforms like Vercel
Create Server
Not supported!
Create Client
Processing Datapackets
You need to create a callback function. Something like that:
Simply in the ServerWebGamePostClient class Execute the sendDatapacket function
Something like that:
//client = ServerWebGamePostClientclient.sendDataPacket(packet);//packet = json// Remember to also send the identifier key
Create Instance
You must create a new ServerWebGamePostClient instance
varclient=newServerWebGamePostClient(domain,port,isHttps);// domain = String (server domain or IP)// port = Number (Server port)// isHttps= boolean (whether the server has HTTPS encryption or not)client.processDatapacks=callback;//callback = function(Callback in charge of handling data packets )