Closed Oleksiy-Yakovenko closed 10 years ago
It is configurable and always was. Just pass it to the Frame constructor.
but i'm not using the Frame module anywhere.
i use Net::WebSocket::Server
is it possible to configure Frame's max_payload_size via the Server API?
You better contact author of Net::WebSocket::Server.
oh. i thought it's the same project. sorry for the confusion.
Sorry for commenting on a closed issue. How do you set the payload size in the Frame constructor?
There's nothing on that in the docs: http://search.cpan.org/~vti/Protocol-WebSocket-0.18/lib/Protocol/WebSocket/Frame.pm
new(max_payload_size => NUMBER)
should work. Yeah, docs could be better.
i'm getting the following error after the module got updated to 0.002001
this didn't happen before. extra info:
can you make the max_payload_size configurable?