- Technical documentation
- API docs
Get the RPC connection of the required service or the RPC server of the provided service.
If type is Service.REQUIRED, an instance of the WebSocketRpcConnection class or null is returned.
If type is Service.PROVIDED, an instance of the WebSocketRpcServer class or null is returned.