dicej requested elliottt for a review on PR #7288.
dicej requested alexcrichton for a review on PR #7288.
dicej requested wasmtime-core-reviewers for a review on PR #7288.
dicej opened PR #7288 from dicej:wasi-http-override-send-request
to bytecodealliance:main
:
This adds a new
send_request
method toWasiHttpView
, allowing embedders to override the default implementation with their own if the desire. The default implementation behaves exactly as before.I've also added a few new
wasi-http
tests: one to test the above, and two others to test streaming and concurrency. These tests are ports of thetest_wasi_http_echo
andtest_wasi_http_hash_all
tests in the Spin integration test suite. The component they instantiate is likewise ported from the Spin
wasi-http-rust-streaming-outgoing-body
component.Fixes #7259
dicej requested wasmtime-default-reviewers for a review on PR #7288.
dicej updated PR #7288.
dicej updated PR #7288.
dicej updated PR #7288.
dicej edited PR #7288:
This adds a new
send_request
method toWasiHttpView
, allowing embedders to override the default implementation with their own if they desire. The default implementation behaves exactly as before.I've also added a few new
wasi-http
tests: one to test the above, and two others to test streaming and concurrency. These tests are ports of thetest_wasi_http_echo
andtest_wasi_http_hash_all
tests in the Spin integration test suite. The component they instantiate is likewise ported from the Spin
wasi-http-rust-streaming-outgoing-body
component.Fixes #7259
elliottt submitted PR review:
This looks great to me, thank you!
elliottt submitted PR review:
This looks great to me, thank you!
elliottt created PR review comment:
This is so much simpler than what I was assuming we'd need, nice work!
elliottt merged PR #7288.
Last updated: Nov 22 2024 at 16:03 UTC