HTTP module

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

Add this to your package’s pubspec.yaml file:

dependencies:
  pip_services4_http: version

Now you can install the package from the command line:

pub get