1 // Package wsserver implements the server side of RFC 6455 WebSockets for the 2 // gateway's data plane. It is deliberately small: an HTTP/1.1 upgrade, masked 3 // client frames, fragmentation, ping/pong, close and one handler per 4 // connection. TinyGo's net/http Hijack is unusable, so the handshake and 5 // framing are implemented over the socket directly. 6 package wsserver 7