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

x/grpc_basic/proto.ts>Type#fromObject

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

Creates a new message of this type from a plain object. Also converts values to their respective internal types.

Parameters

object: { [k: string]: any; }

Plain object to convert

Returns

Message<{ }>

Message instance