0.5.0 • Published 3 years ago
grpc-server-js v0.5.0
grpc-server-js
Pure JavaScript gRPC Server
Documentation
The goal is to be largely compatible with the existing Server
implementation.
Features
- Unary calls.
- Streaming client request calls.
- Streaming server response calls.
- Bidirectional streaming calls.
- Deadline and cancellation support.
- Support for gzip and deflate compression, as well as uncompressed messages.
- Server credentials for handling both secure and insecure calls.
- gRPC Metadata.
- gRPC logging.
- No production dependencies.
- No C++ dependencies. This implementation relies on Node's
http2
module. - Supports the following gRPC server options:
grpc.http2.max_frame_size
grpc.keepalive_time_ms
grpc.keepalive_timeout_ms
grpc.max_concurrent_streams
grpc.max_receive_message_length
grpc.max_send_message_length
- All possible options and their descriptions are available here.
- Supports the following gRPC environment variables:
GRPC_DEFAULT_SSL_ROOTS_FILE_PATH
GRPC_SSL_CIPHER_SUITES
GRPC_VERBOSITY
- All possible environment variables and their descriptions are available here.
Public API Deviations from the Existing grpc.Server
Server.prototype.bind()
is anasync
function.- The deprecated
Server.prototype.addProtoService()
is not implemented. Server.prototype.addHttp2Port()
is not implemented.
Useful References
- What is gRPC?
- gRPC over HTTP2
- gRPC Compression
- gRPC Environment Variables
- gRPC Keepalive
- gRPC Name Resolution
- gRPC Status Codes
Acknowledgement
This module is heavily inspired by the grpc
native module. Some of the source code is adapted from the @grpc/grpc-js
module.
0.5.0
3 years ago
0.4.0
4 years ago
0.3.2
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.2
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.15
4 years ago
0.1.14
4 years ago
0.1.13
4 years ago
0.1.12
5 years ago
0.1.11
5 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago