diff --git a/README.md b/README.md index 43f8419..aa8e128 100644 --- a/README.md +++ b/README.md @@ -63,25 +63,23 @@ fn main() -> ExitCode { Ok(response) => { // route by status code match response.meta.status { - // is code 20, handle `GIOStream` by content type + // code 20, handle `GIOStream` by content type Status::Success => match response.meta.mime.unwrap().value.as_str() { - // is gemtext, see ggemtext crate to parse + // gemtext, see ggemtext crate to parse "text/gemini" => todo!(), - // other types + // other content types _ => todo!(), }, _ => todo!(), } } - Err(e) => todo!("{e}"), + Err(_) => todo!(), }, ); ExitCode::SUCCESS } ``` -* to send requests using Titan protocol, see `titan_request_async` implementation - ## Other crates * [ggemtext](https://github.com/YGGverse/ggemtext) - Glib-oriented Gemtext API \ No newline at end of file