call method
- String method,
- String route,
- String correlationId,
- Map<
String, String> params, - [dynamic data]
inherited
Calls a remote method via HTTP/REST protocol.
method
HTTP method: 'get', 'head', 'post', 'put', 'delete'route
a command route. Base route will be added to this routecorrelationId
(optional) transaction id to trace execution through call chain.params
(optional) query parameters.data
(optional) body object. Returns Future that receives result object Throw error.