code
Clone this repository
https://tangled.org/anil.recoil.org/ocaml-fastcgi
git@git.recoil.org:anil.recoil.org/ocaml-fastcgi
For self-hosted knots, clone URLs may differ based on your setup.
- Create examples/ directory with four sample applications
- hello_responder.ml: Simple "Hello World" FastCGI Responder
- echo_responder.ml: Echo server displaying request information
- simple_authorizer.ml: Path-based authorization server
- basic_filter.ml: Text filter converting input to uppercase
- Update interface types to be compatible with Eio's actual types
- Fix TCP address type from Sockaddr to string for simplicity
- All examples type-check successfully against interfaces
- Expected linking errors confirm readiness for implementation phase
This completes STEP 2: sample binaries successfully demonstrate the API design
and prove the interfaces are usable for real applications.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>