pub async fn VineStart(
ApplicationHandle: AppHandle,
PrimaryAddress: String,
SecondaryAddress: String,
) -> Result<(), String>Expand description
Starts the Vine gRPC server at the specified addresses.
§Arguments
ApplicationHandle- The Tauri application handlePrimaryAddress- The primary server address (e.g., “\[::1\]:50051”)SecondaryAddress- The secondary server address (e.g., “\[::1\]:50052”)
§Returns
A Result indicating success or failure.
§Vine Server Functionality
The Vine gRPC server provides:
- Inter-service communication infrastructure
- gRPC method handling for various services
- Multi-port support for different service types
§Addresses
- Primary:
[::1]:50051- Main service communication - Secondary:
[::1]:50052- Auxiliary service communication
§Errors
Returns an error if Vine server initialization fails.