Godot Version
4.4 RC1
Question
I’m using a SignalR C# server and it requires a handshake to be sent with the 0x1E character (record separator) at the end, I’ve tried:
var handshake = "{\"protocol\":\"json\",\"version\":1}%c"
websocket.send_text(handshake % String.chr(30))
and
websocket.send_text("{\"protocol\":\"json\",\"version\":1}" + String.chr(30))
and neither work. I’ve even tried copying/pasting the character into the gdscript but nothing shows up (It shows up in VSCode though) and it doesn’t work either.
What am I doing wrong? Does gdscript just not let you send this character over websockets?