slitherClient

pull/5370/head
aniket-engg 4 years ago committed by Aniket
parent 372a7f7cff
commit a8dc3baf1c
  1. 21
      libs/remixd/src/services/slitherClient.ts

@ -0,0 +1,21 @@
import * as WS from 'ws' // eslint-disable-line
import { PluginClient } from '@remixproject/plugin'
export class SlitherClient extends PluginClient {
methods: Array<string>
websocket: WS
currentSharedFolder: string
constructor (private readOnly = false) {
super()
this.methods = []
}
setWebSocket (websocket: WS): void {
this.websocket = websocket
}
sharedFolder (currentSharedFolder: string): void {
this.currentSharedFolder = currentSharedFolder
}
}
Loading…
Cancel
Save