The event name
The data you wish to send with the request
Will Register an NUI event callback that will immediately proxy to a server side promisified event of the same name. Once the server responds and resolves the promise on the client, this function will callback to the NUI and resolve the original HTTP request.
The event name to listen for
Register a listener for the RPC system which can then be triggered by the server side RPC call.
The event name to listen for
The callback function that returns the desired value back to the server
Change the settings for this instance by passing a new config
Settings you wish to overwrite
Generated using TypeDoc
Emit a promisified event towards the server which will resolve once the server responds.