AsyncRemote

An AsyncClient which defaults to posts with json bodies, i.e., RPC.

Usage

Source

AsyncRemote()

Parameters

url: str

base url for requests

json: Mapping = {}

default json body for all calls

**kwargs
same options as AsyncClient

Methods

Name Description
__call__() POST request with json body and check result.

__call__()

POST request with json body and check result.

Usage

Source

__call__(path="", **json)