Method
constructor
(
@inject(CoreBindings.APPLICATION_INSTANCE) public app?: Application,
@inject('rpcServer.config') public config?: RPCServerConfig,
)
Source from the content-addressed store, hash-verified
| 21 | expressServer: express.Application; |
| 22 | |
| 23 | constructor( |
| 24 | @inject(CoreBindings.APPLICATION_INSTANCE) public app?: Application, |
| 25 | @inject('rpcServer.config') public config?: RPCServerConfig, |
| 26 | ) { |
| 27 | super(app); |
| 28 | this.config = config ?? {}; |
| 29 | this.expressServer = express(); |
| 30 | rpcRouter(this); |
| 31 | } |
| 32 | |
| 33 | get listening() { |
| 34 | return this._listening; |
Callers
nothing calls this directly
Tested by
no test coverage detected