Expand description
A client for calling Zebra’s JSON-RPC methods.
Used in the rpc sync scanning functionality and in various tests and tools.
Structs§
- RpcRequest
Client - An HTTP client for making JSON-RPC requests.
Constants§
- RPC_
REQUEST_ 🔒TIMEOUT - The default timeout for RPC requests.
Statics§
- NEXT_
REQUEST_ 🔒ID - A process-wide, monotonically increasing counter for JSON-RPC request ids, so each request carries a distinct id that its response can be correlated against.
Functions§
- next_
request_ 🔒id - Returns the next distinct JSON-RPC request id.