$ cnpm install nice-grpc-common
Common data structures and types for
nice-grpc and nice-grpc-web.
If you are making a middleware library, consider depending on
nice-grpc-common, as it is considered more stable in terms of semver. Also,
this allows you to build an isomorphic client middleware (working on both
Node.js and the Browser).
For application code, use nice-grpc or nice-grpc-web directly. Both
re-export names from nice-grpc-common.
npm install nice-grpc-common
Metadata — represents
gRPC Metadata.Status — enum with
gRPC status codes.CallContext — call context passed to server
methods.ServerError.ServerMiddleware.composeServerMiddleware.CallOptions — call options accepted by client
methods.ClientError.ClientMiddleware.composeClientMiddleware.Copyright 2013 - present © cnpmjs.org | Home |