The rpc module provides the synchronous communication using local calls or the HTTP(S) protocol. It contains both server and client side implementations.
Packages
The module contains the following packages:
- Auth - authentication and authorization components
- Build - HTTP service factory
- Clients - mechanisms for retrieving connection settings from the microservice’s configuration and providing clients and services with these settings
- Controllers - basic implementation of controllers for connecting via the HTTP/REST protocol and using the Commandable pattern over HTTP
Use
Install the NPM package as
npm install pip-services4-http-node --save