Files
sdk/samples/ffi/httpIG
Alexander Aprelev 1499a30cd5 [gardening] Fix httpIG sample test, update new isolate_group_bound test status on fuchsia.
Fix failures https://dart-ci.appspot.com/log/vm-linux-release-x64/vm-linux-release-x64/6082/samples/ffi/httpIG/test/http_test

Lift .status-file constraints on where http and httpIG samples can run.

Follow-up to b759d096cb
TEST=ci

Change-Id: Icc71d6407e910d30f6ff028830550a05b179f1da
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/444927
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2025-08-13 12:27:40 -07:00
..

This is an example that shows how to use NativeCallable.listener to interact with a multi threaded native API.

The native API is a fake HTTP library with some hard coded requests and responses. To build the dynamic library, run this command:

c++ -shared -fpic lib/fake_http.cc -lstdc++ -o lib/libfake_http.so

On Windows the output library should be lib/fake_http.dll and on Mac it should be lib/libfake_http.dylib.