charlie-sans / CodeRunner-projects

GNU General Public License v3.0
1 stars 3 forks source link

Dynamic Generation for Websockets #3

Closed charlie-sans closed 2 weeks ago

charlie-sans commented 3 weeks ago

in CodeRunner for issue #2. inside the dev log explains that the server dynamically generates the websockets based on the /requests endpoint sending data back to the client/clients to generate the websocket connections to the server.

however

currently it does that to a degree. it's a half shabby implementation of what should be a working implementation at the end of the day and needs to be rewritten.

it splits the name of the endpoint and the link and sets the name correctly, however it does not set the url correctly when it tries to parse the endpoint's link.

pulling apart the code and piecing it back together trying to find the issue might be the only way to be able to do that.

charlie-sans commented 2 weeks ago

closing this issue as I've found a workaround for this. with the #5 PMS implementation for Coderunner, Doing Dynamic Generation for Websockets are not required as only 2 endpoints are needed for creating and writing files.

this saves time, performance, slots and code readability as well