This project is here just to present Websocket
issue in
Telegraph library.
Steps to reproduce:
- Server is running on port
8080
. - Try to connect with a websocket client to:
ws://localhost:8080/
- Server will load
output1.json
file, onwebSocketDidConnect
will try to sendData
to websocket usingwebSocket.send(data: data)
. - For
output1.json
connection will be closed with:(1002) WebSocket Protocol Error
- For
output2.json
all data will be sent.
File output1.json
is around 1.2
MB in size.
File output2.json
is around 49
KB in size.