perf(relay): reduce encrypted binary traffic overhead (#2480)
Preserve application frame identity through encryption so negotiated binary traffic avoids base64 expansion while mixed-version peers remain compatible.
This commit is contained in:
@@ -34,7 +34,7 @@ class FakeWebSocket {
|
||||
}
|
||||
|
||||
message(data: string): void {
|
||||
this.onmessage?.(data);
|
||||
this.onmessage?.({ data });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user