Commit b35ab8eb authored by aniket-engg's avatar aniket-engg Committed by Aniket

slitherClient

parent 2512f306
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
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment