Optional
fromOptional
idOptional
logger?: LoggerOptional
middlewareOptional
replacer?: ((key, value) => any)Optional
timeoutReadonly
[initProtected
activeProtected
defaultProtected
fromProtected
handlerProtected
idProtected
loggerProtected
middlewareProtected
Optional
onProtected
Optional
replacerProtected
timeoutProtected
registerProtected
registerThe ID is generated only once when the function is called and stored in the id variable. the ID is associated with the entire stream Every response (whether successful or an error) produced within this stream will have the same ID, which is consistent with the originating request.
Protected
registerRegisters a raw stream handler. This is the basis for all handlers as handling the streams is done with raw streams only. The raw streams do not automatically refresh the timeout timer when messages are sent or received.
Protected
registerProtected
registerStarts RPC server.
Server manifest used to define the rpc method handlers.
Generated using TypeDoc
RPCServer Constructor