dfinity / agent-rs

A collection of libraries and tools for building software around the Internet Computer, in Rust.
https://sdk.dfinity.org/
Apache License 2.0
124 stars 77 forks source link

feat: Add experimental feature for synchronous update calls #572

Closed DSharifi closed 4 months ago

DSharifi commented 4 months ago

Description

This PR adds an experimental feature flag to support synchronous update calls, which are routed to /api/v3/.../call. The feature is opt in, and requires the user to also enable a flag in the builder of ReqwestTransport or HyperTransport.

Changes:

How Has This Been Tested?

Integration tests have been updated to expect requests are sent to v3/.../call.

Checklist: