Crow Websockets cannot accept if the character length is greater than 126. It's probably due to this concept:
https://stackoverflow.com/questions/8284695/is-it-possible-to-send-websocket-data-over-126-chars
I used chatgpt to provide a fix for my own project.
The fixed codes can be found here:
https://dev.to/lucpattyn/fix-for-crow-c-websocket-which-could-not-receive-beyond-128-chars-3ee6
disclaimer note: Since LLM provided a solution , and I am not expert enough to check, it may not work for huge texts, but for practical purposes, seem good enough.
Crow Websockets cannot accept if the character length is greater than 126. It's probably due to this concept:
https://stackoverflow.com/questions/8284695/is-it-possible-to-send-websocket-data-over-126-chars
I used chatgpt to provide a fix for my own project.
The fixed codes can be found here:
https://dev.to/lucpattyn/fix-for-crow-c-websocket-which-could-not-receive-beyond-128-chars-3ee6
disclaimer note: Since LLM provided a solution , and I am not expert enough to check, it may not work for huge texts, but for practical purposes, seem good enough.