Closed ArthurTimmermans closed 1 month ago
Hi, please review the docs for Router and you will find that when binding Router.ws() to create a route, you can specify a message_type option alongside other route options which will dictate the type of the data.
So essentially you can change the default string parsing behavior by defining the message_type option alongside max payload length and others.
Hello everyone,
I have created a web socket on hyper-express (version 6.17.2) and have the issue that messages are always recognised as type 'string' while I send for example Binary data.
Is this a known issue or something related to my code?
Message send via Postman:
Backend Code