tree: 533c1478bffce0033e291be4119585289d6006da [path history] [tgz]
  1. src/
  2. Cargo.toml
  3. README.md
http/get_simple/rs/server/README.md

HTTP GET Arrow Data: Simple Rust Server Example

This directory contains a minimal example of an HTTP server implemented in Rust. The server:

  1. Creates a list of record batches and populates it with synthesized data.
  2. Listens for HTTP requests from clients.
  3. Upon receiving a request, sends an HTTP 200 response with the body containing an Arrow IPC stream of record batches.

To run this example:

cargo r --release

[!NOTE]
This server example implements low-level HTTP/1.1 details directly, instead of using an HTTP library. We intend to update the example to use hyper after arrow-rs has an async Arrow IPC writer).