Crate icap
Available on crate feature
icap only.Expand description
Internet Content Adaptation Protocol (ICAP) support for Rama.
The crate is layered so applications can use only the level they need:
codecandprotoprovide allocation-free,no_stdwire syntax;messageowns encoded messages;clientandserverstream ICAP transactions through Rama I/O;httpadds typed HTTP messages and the HTTP adaptation layer.
The default build contains the protocol and codec only. Enable std for
client/server I/O, or http for typed HTTP adaptation (http implies
std). Live connections use compatible parsing by default; strict parser
policies remain available through io::ConnectionOptions.
See the complete HTTP(S) proxy and embedded ICAP server in Rama’s
http_icap_proxy example.
§Rama
Crate used by the end-user rama crate and rama crate authors alike.
Learn more about rama:
- GitHub: https://github.com/plabayo/rama
- Book: https://ramaproxy.org/book/
Modules§
- client
std - Standalone streaming ICAP client transactions.
- codec
- Borrowed ICAP wire decoders and fixed-buffer encoders.
- http
http - Typed HTTP integration for ICAP messages and streaming bodies.
- io
std - Bounded asynchronous ICAP framing over an arbitrary byte stream.
- message
std - Owned ICAP message metadata for asynchronous transactions.
- proto
- ICAP protocol values independent of transport I/O.
- server
std - Standalone streaming ICAP server transactions.