WebSocketLikeConstructorinterface WebSocketLikeConstructor {[key: string]: any;new (address: string | URL, subprotocols?: string | string[] | undefined): WebSocketLike;}§Index Signatures§[key: string]: any§Methods§new (address: string | URL, subprotocols?: string | string[] | undefined): WebSocketLike[src]