Socket
Socket
Sign inDemoInstall

grpc-server-js

Package Overview
Dependencies
1
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

grpc-server-js


Version published
Maintainers
1
Created

Readme

Source

grpc-server-js

Current Version Build Status via Travis CI Dependencies belly-button-style

Pure JavaScript gRPC Server

Documentation

The goal is to be largely compatible with the existing Server and ServerCredentials documentation.

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.
  • The only third party dependency is @grpc/grpc-js, which is used for some shared data structures.
  • No C++ dependencies. This implementation relies on Node's http2 module.

Public API Deviations from the Existing grpc.Server

  • Server.prototype.bind() is an async function.
  • The deprecated Server.prototype.addProtoService() is not implemented.
  • Server.prototype.addHttp2Port() is not implemented.
  • Server.prototype.forceShutdown() is not implemented.
  • The private_key and cert_chain properties of keyCertPair instances have been renamed to privateKey and certChain.

Acknowledgement

This module is heavily inspired by the grpc native module. Some of the source code is adapted from the @grpc/grpc-js module.

Useful References

Keywords

FAQs

Last updated on 21 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc