IMPORTANT:
1. Custom bids
2. Bid how much you want to charge for the project
I am looking for someone to do a custom websocket wrapper for my project.
Functionality:
1. It should persist the connection
2. It should be able to issue commands through functions
Details:
I am connecting by WebSocket to multiple servers and issuing commands remotely.
I need to be able to call either of the WebSockets open dynamically and send a command.
Functions that I need support for:
FN1
serverRconStartFN(serverid, ip, port, password)
can call your function to start ws here
returns state if its turned on or not
FN2
rconCommand(serverid, command, identifier)
- serverid - identifies to which rcon to send to
- command to be send to rcon
- identifier, standard to wait for response related to issued command, you await msg with same identifier
calls your function to send command to serverid that was assigned in serverRconStartFN
returns answer from that websocket
Return should have state + response
Example state and response:
success = (1, raw answer)
timeout = (2, null)
error = (3, error)
Considerations:
Answer can be string or json, you can see in that wrapper im using they handle this case so you can copy