Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grpc_basic/client.ts>GrpcClientImpl

Very basic gRPC implementation for Deno
Latest
class GrpcClientImpl
implements GrpcClient
import { GrpcClientImpl } from "https://deno.land/x/grpc_basic@0.4.7/client.ts";

Constructors

new
GrpcClientImpl(options: ClientInitOptions)

Properties

closed: boolean
conn: Deno.Conn
optional
connecting: Promise<void>
flushing: boolean
optional
flushTimer: number
frames: Frame[]
root: Root
serviceName: string
svc: Service

Methods

_callStream<Req, Res>(name: string, req: Req): AsyncGenerator<Res>
_callUnary<Req, Res>(name: string, req: Req): Promise<Res>