Skip to main content

serve_tonic

Function serve_tonic 

Source
pub async fn serve_tonic<S>(
    port: u16,
    state: S,
    modules: OptionalModules,
) -> Result<()>
Expand description

Start Tonic gRPC server. The gated services follow their module flag like the REST side; the reflection service still lists them, so a disabled deployment answers them with Unimplemented.