Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

AGI API reference

The public Rust API is documented in asterisk_rs_agi. Rustdoc is the canonical inventory of channel commands, request accessors, server configuration, and errors.

Find the right API

  • AgiServer accepts bounded FastAGI sessions and coordinates shutdown.
  • AgiHandler is the application callback for one parsed request and channel session.
  • AgiRequest provides typed access to the FastAGI prelude.
  • AgiChannel owns the command/response exchange. Its rustdoc lists every supported typed command and exact signature.

See FastAGI server for admission, bind, timeout, and shutdown behavior. The crate examples are the source of complete runnable server programs.