cherry-pick(#32991): fix(routeWebSocket): do not show in the trace (#33004)

This commit is contained in:
Dmitry Gozman 2024-10-08 03:56:00 -07:00 committed by GitHub
parent c329c5c1ec
commit ca368d43fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -462,6 +462,7 @@ export class WebSocketRoute extends ChannelOwner<channels.WebSocketRouteChannel>
constructor(parent: ChannelOwner, type: string, guid: string, initializer: channels.WebSocketRouteInitializer) {
super(parent, type, guid, initializer);
this.markAsInternalType();
this._server = {
onMessage: (handler: (message: string | Buffer) => any) => {