-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Hello, and thanks for this awesome library! I have been working with it for a while, but found a couple problems.
I cannot find a way to enable the debug or set the max message size.
When calling this two methods (on the setup(), before the WS constructor) throws an error in Processing:
WebsocketServer.enableDebug();
WebsocketServer.setMaxMessageSize(200000);
ws = new WebsocketServer(this, 8181, "/test");
It seems it cannot launch them, it says "The function enableDebug does not exist" and "The function setMaxMessageSize does not exist". Am I missing something?
On the other hand I´m not able to call "sendMessage()" sending a byte array instead of a String. It says it has to be a String, but in the class definition there are two functions with the same name (one accepts a String, the second a byte array). How can I call the second one? Processing keeps thinking I call the first one, so it expects a String and throws an error.
Thanks in advance.