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
- Connect - Contains a class used to retrieve connections for HTTP-based services and clients
- Clients - mechanisms for retrieving connection settings from the microservice’s configuration and providing clients and services with these settings
- Controller - basic implementation of controllers for connecting via the HTTP/REST protocol and using the Commandable pattern over HTTP
Use
Install the NPM package as
pip install pip-services4-http
``