slitherClient

pull/1398/head
aniket-engg 3 years ago committed by Aniket
parent 2512f3066a
commit b35ab8eb5a
  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