macro_rules! text_response { ($text:expr) => { ... }; }
Return a plain-text response from a handler.
use ferro_rs::text_response; pub async fn ping() -> Response { text_response!("pong") }