scaytrase/rpc-common

1.2.1 2017-05-11 08:05 UTC

README

Latest Stable Version Total Downloads Latest Unstable Version License

Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight

RPC Library

Built-in support for batch-like requests. Processing depends on client implementation (may not be real batch)

Common interfaces

  • RPC request (call)
  • RPC response (result)
  • RPC error

Decorators

  • Lazy client decorator
  • Loggable client decorator
  • Cacheable client decorator

Test utils

  • Mock client to create response queue with acceptance filter