scaytrase / rpc-common
Common RPC interfaces
Installs: 147 716
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ~5.5|~7.0
Requires (Dev)
- phpunit/phpunit: ^4.8.35 | ^5.1 | ^6.0
- psr/cache: ~1.0
- psr/log: ~1.0
README
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