router
router copied to clipboard
PoC for external calls via HTTP/POST+JSON
DO NOT MERGE UNDER ANY CIRCUMSTANCES
PoC for external calls via HTTP/POST+JSON payloads. There are two mechanisms explored:
- custom http_plugin
rhaiextension method
Both mechanisms appear to add approx 2ms onto the total execution time when calling out to a service implemented in Python on a local machine that is performing minimal modifications of the provided JavaScript.
There are two new examples which illustrate each mechanism.
@garypen your pull request is missing a changelog!
@garypen, please add a /NEXT_CHANGELOG.md entry for this PR to the appropriate section!
Closing since this was delivered via config rather than using rhai in #2229