Interface: RPCServiceCtor<Context, M>
@divine/web-service.RPCServiceCtor
The static side of an RPC service.
Specifies how the service is constructed.
Type parameters
Name | Type | Description |
---|---|---|
Context | Context | The type of the context argument. |
M | extends RPCMethods <M > | The interface that defines all RPC method request and response types (as tuples). |
Constructors
constructor
• new RPCServiceCtor(context
, args
)
Constructs a new RPC service instance.
Parameters
Name | Type | Description |
---|---|---|
context | Context | The WebService context. |
args | WebArguments | The request arguments. |