Table of contents
#
Interfaces#
References#
CallContextRe-exports: CallContext
#
ChannelReceiverRe-exports: ChannelReceiver
#
NodeRefRe-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:Name | Type |
---|---|
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:Name | Type |
---|---|
base64Meta | string |
Returns: void
Defined in: rpc/proto_registry.ts:44