upd: megalodon to v7
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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() {}
|
||||
}
|
||||
Reference in New Issue
Block a user