Skip to main content

serve_grpc

Function serve_grpc 

Source
pub async fn serve_grpc(
    listener: TcpListener,
    service: Service,
    auth: Arc<Auth>,
) -> Result<(), Error>
Expand description

Serve gRPC on an already-bound listener until the process ends. auth governs per-call namespace authorization (ADR 0015); Auth::Disabled serves open.