export server

pull/4827/head
yann300 5 months ago
parent 8568331b5c
commit 46d97a25d7
  1. 1
      libs/remix-simulator/src/index.ts
  2. 4
      libs/remix-simulator/src/server.ts

@ -1 +1,2 @@
export { Provider, extend, JSONRPCRequestPayload, JSONRPCResponsePayload, JSONRPCResponseCallback } from './provider'
export * as Server from './server'

@ -58,9 +58,11 @@ class Server {
}
app.listen(port, host, () => {
log('Remix Simulator listening on ws://' + host + ':' + port)
if (!this.rpcOnly) {
log('Remix Simulator listening on ws://' + host + ':' + port)
log('http json-rpc is deprecated and disabled by default. To enable it use --rpc')
} else {
log('Remix Simulator listening on http://' + host + ':' + port)
}
})
}

Loading…
Cancel
Save