Skip to main content
FastEdge HTTP applications respond to HTTP requests directly from the edge. The handler compiles to a WebAssembly binary and runs without servers or containers. Three language options are available — complete the toolchain setup first: Rust (Modern HTTP), Rust (Legacy HTTP), or JavaScript.

Write a handler

Each language uses a different entry point convention. Choose the tab that matches the toolchain set up earlier.
Replace src/lib.rs with:

Build

Compile the handler to a WebAssembly binary. The first build downloads dependencies and takes one to two minutes.
The binary is at ./target/wasm32-wasip2/release/hello_world.wasm.

Deploy