Skip to main content

Table of contents

Interfaces#

References#

CallContext#

Re-exports: CallContext


ChannelReceiver#

Re-exports: ChannelReceiver


NodeRef#

Re-exports: NodeRef

Type aliases#

ProtoGenAPIVersion#

Ƭ ProtoGenAPIVersion: 1

Defined in: proto_gen_api.ts:9

Variables#

GeneratedAPIVersion#

• Const GeneratedAPIVersion: 1= 1

Defined in: proto_gen_api.ts:10


injected#

• Const injected: object

Type declaration:#

NameType
createClient(type: string, nodeRef: any) => any
decode(type: string, data: Uint8Array, delimitated: boolean) => any
encode(type: string, obj: any, delimitated: boolean) => Uint8Array
registerHandler(type: string, scope: ServiceScope, handler: any) => () => void
verify(type: string, obj: any) => string | null

Defined in: proto_gen_api.ts:25

Functions#

addMetaDefinitionBase64#

â–¸ addMetaDefinitionBase64(base64Meta: string): void

Adds a proto definition that has been pre-compiled with the maglev CLI. This is typically found at the bottom of generated code, in the form of binary protobuf data encoded as a base-64 string directly in the source.

Parameters:#

NameType
base64Metastring

Returns: void

Defined in: rpc/proto_registry.ts:44