This directory contains a minimal example of an HTTP client implemented in C++. The client:
To run this example, first start one of the server examples in the parent directory. Then install the arrow and libcurl C++ libraries, compile client.cpp, and run the executable. For example, using clang++:
clang++ client.cpp -std=c++17 $(pkg-config --cflags --libs arrow libcurl) -o client ./client
[!NOTE] The example here requires version 15.0.0 or higher of the Arrow C++ library because of a bug (#39163) that existed in earlier versions. If you must use an earlier version of the Arrow C++ library, it is possible to implement an HTTP client by using
arrow::ipc::RecordBatchStreamReaderinstead ofarrow::ipc::StreamDecoder. See this example for reference.