Hello, I saw that the method for sending websocket messages is 'push(String channel, String msg)'.
I would like to write directly to OutputStream in order to improve performance. I am using Jackson JSON parser, which writes directly to OutputStream. Sending small String messages is not a problem in 'push(String channel, String msg)', but when you need to send large messages very frequently the problem arises.
Please let me know if we can made a patch for PrimePush in order to write messages directly to OutputStream. The new API signature could be 'push(String channel, OutputStream out)'.
Writing directly to OutputStream
-
- Information
-
Who is online
Users browsing this forum: No registered users and 52 guests