upd: megalodon to v7
This commit is contained in:
parent
b4674ce65c
commit
afda15260f
234 changed files with 21334 additions and 7675 deletions
18
packages/megalodon/src/friendica/web_socket.ts
Normal file
18
packages/megalodon/src/friendica/web_socket.ts
Normal file
|
|
@ -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() {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue