0c

Results 3 issues of 0c

The added Socket.gd script initializes a WebSocket client (WebSocketClient) and communicates with another local websocket server process by sending JSON-formatted messages. It handles connection events, receives data, and sends specific...

```js this.window = new Window(300, 300); this.window.title = "Canvas Window"; this.window.on("draw", (e) => { // draw anything on mouse.position will be with delayed }); App.fps = 300; App.eventLoop = "node";...

``` inline const char * stringFromValue(const Napi::CallbackInfo& info, int index) { std::string val = info[index].As().Utf8Value(); const std::string::size_type size = val.size(); char *buffer = new char[size + 1]; //we need extra...