3fd2b55406
This reverts commit 89eea5df52
.
18 lines
465 B
TypeScript
18 lines
465 B
TypeScript
import { WebSocketInterface } from '../megalodon'
|
|
import { EventEmitter } from 'events'
|
|
import { ProxyConfig } from '../proxy_config'
|
|
|
|
export default class WebSocket extends EventEmitter implements WebSocketInterface {
|
|
constructor(
|
|
_url: string,
|
|
_stream: string,
|
|
_params: string | undefined,
|
|
_accessToken: string,
|
|
_userAgent: string,
|
|
_proxyConfig: ProxyConfig | false = false
|
|
) {
|
|
super()
|
|
}
|
|
public start() {}
|
|
public stop() {}
|
|
}
|