We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Uint8Array
frame
socket.on("data")
1 parent 360f70d commit 374d602Copy full SHA for 374d602
transport-node/src/node_transport.ts
@@ -147,7 +147,7 @@ export class NodeTransport implements Transport {
147
peekInfo(): Promise<ServerInfo> {
148
const d = deferred<ServerInfo>();
149
let peekError: Error;
150
- this.socket.on("data", (frame) => {
+ this.socket.on("data", (frame: Uint8Array) => {
151
this.yields.push(frame);
152
const t = DataBuffer.concat(...this.yields);
153
const pm = extractProtocolMessage(t);
0 commit comments