Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grpc_basic/proto.ts>Service#create

Very basic gRPC implementation for Deno
Latest
method Service.prototype.create
Re-export
import { Service } from "https://deno.land/x/grpc_basic@0.4.7/proto.ts";

Creates a runtime service using the specified rpc implementation.

Parameters

rpcImpl: RPCImpl

RPC implementation

optional
requestDelimited: boolean

Whether requests are length-delimited

optional
responseDelimited: boolean

Whether responses are length-delimited

Returns

rpc.Service

RPC service. Useful where requests and/or responses are streamed.