This directory contains a minimal example of an HTTP client implemented in Swift. The client:
- Sends an HTTP GET request to a server.
- Receives an HTTP 200 response from the server, with the response body containing an Arrow IPC stream record batch.
- Prints some of the record batches attributes and data to the terminal
To run this example, first start one of the server examples in the parent directory, then:
- download and copy Apache Arrow Swift's Arrow folder into the vendor/Arrow folder:
git clone --filter=blob:none --no-checkout --depth 1 --sparse https://github.com/apache/arrow.git
pushd arrow
git sparse-checkout add swift/Arrow
git checkout
popd
mkdir -p vendor/Arrow
mv arrow/swift/Arrow vendor
rm -rf arrow- run:
swift run