fix(routeWebSocket): do not show in the trace

This commit is contained in:
Dmitry Gozman 2024-10-07 19:26:57 +01:00
parent 9a6f03eb87
commit c51a9c24f3

View file

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