Compressing the Web socket response.

58 views
Skip to first unread message

Srikanth Rajasekaran

unread,
Sep 7, 2016, 1:59:41 AM9/7/16
to vert.x
Hello Team,

Greetings!

I am looking for some help on compressing the response message sent over the web socket.

Actually, there is an option to compress the http response by setting a parameter in http server option like HttpServerOptions().setCompressionSupported(true);

Do we have any option to do the same for the web socket responses?

Thank you.

Reagrds,
Srikanth

Thomas SEGISMONT

unread,
Sep 7, 2016, 4:24:16 AM9/7/16
to ve...@googlegroups.com
ATM Vert.x does not support websocket extensions. You can create an issue in https://github.com/vert-x3/issues/issues with the tag wishlist.

Maybe not worth mentioning but if the client side is not a browser (like a Java client), you can still compress bytes before sending and uncompress after receiving.

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/6221c245-7d3b-4d79-8c70-04b1c8f13465%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Srikanth Rajasekaran

unread,
Jan 13, 2017, 6:11:40 AM1/13/17
to vert.x
Apologies for the delayed response. This information helps.Thank you.


On Wednesday, September 7, 2016 at 1:54:16 PM UTC+5:30, Thomas Segismont wrote:
ATM Vert.x does not support websocket extensions. You can create an issue in https://github.com/vert-x3/issues/issues with the tag wishlist.

Maybe not worth mentioning but if the client side is not a browser (like a Java client), you can still compress bytes before sending and uncompress after receiving.
2016-09-07 7:59 GMT+02:00 Srikanth Rajasekaran <sseka...@gmail.com>:
Hello Team,

Greetings!

I am looking for some help on compressing the response message sent over the web socket.

Actually, there is an option to compress the http response by setting a parameter in http server option like HttpServerOptions().setCompressionSupported(true);

Do we have any option to do the same for the web socket responses?

Thank you.

Reagrds,
Srikanth

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages