[erlang-questions] What is the unit for max_frame_size(WebSocket) on Cowboy?

Loïc Hoguin essen@REDACTED
Mon May 20 09:17:46 CEST 2019


Yes bytes. Every data sizes in Cowboy are bytes. Please send a patch to 
the docs.

https://github.com/ninenines/cowboy/blob/master/doc/src/manual/cowboy_websocket.asciidoc

On 20/05/2019 05:16, by wrote:
> Hello List,
> 
> As stated in the subject, anyone knew the unit 
> for max_frame_size(WebSocket) on Cowboy?
> 
> For convention, this should be “byte". Just want to make sure.
> I checked with 
> https://ninenines.eu/docs/en/cowboy/2.6/manual/cowboy_websocket/ but no 
> explicit word specify this.
> 
> Best Regards,
> Yao
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
> 

-- 
Loïc Hoguin
https://ninenines.eu



More information about the erlang-questions mailing list