tree: 8bef91a4c342470c392f29366315b046cbdad407 [path history] [tgz]
  1. .gitignore
  2. client.c
  3. README.md
http/get_simple/c_glib/client/README.md

HTTP GET Arrow Data: Simple C GLib Client Example

This directory contains a minimal example of an HTTP client implemented in C with GLib. The client:

  1. Sends an HTTP GET request to a server.
  2. Receives an HTTP 200 response from the server, with the response body containing an Arrow IPC stream of record batches.
  3. Collects the record batches as they are received.

To run this example, first start one of the server examples in the parent directory. Then install the arrow-glib and libsoup C libraries, compile client.c, and run the executable. For example, using clang:

clang client.c $(pkg-config --cflags --libs arrow-glib libsoup-3.0) -o client
./client