mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
commit
cbe039ac52
@ -101,6 +101,8 @@ var loadObject = exports.loadObject;
|
||||
|
||||
/**
|
||||
* Load a gRPC object from a .proto file.
|
||||
* @deprecated Use the {@link https://www.npmjs.com/package/@grpc/proto-loader|proto-loader module}
|
||||
with grpc.loadPackageDefinition instead.
|
||||
* @memberof grpc
|
||||
* @alias grpc.load
|
||||
* @param {string|{root: string, file: string}} filename The file to load
|
||||
@ -376,4 +378,4 @@ exports.Channel = grpc.Channel;
|
||||
* {@link grpc.propagate} that indicates what information to propagate
|
||||
* from parentCall
|
||||
* @return {grpc~Call}
|
||||
*/
|
||||
*/
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
# gRPC Protobuf Loader
|
||||
|
||||
A utility package for loading `.proto` files for use with gRPC, using the latest Protobuf.js package.
|
||||
Please refer to [protobuf.js' documentation](https://github.com/dcodeIO/protobuf.js/blob/master/README.md)
|
||||
to understands its features and limitations.
|
||||
|
||||
## Installation
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user