draft new components

This commit is contained in:
yggverse 2024-10-31 03:24:41 +02:00
parent 394ae0cf4f
commit d5cea24891
3 changed files with 11 additions and 0 deletions

View file

@ -1,6 +1,7 @@
//! Read and parse Gemini response as GObject //! Read and parse Gemini response as GObject
pub mod body; pub mod body;
pub mod data;
pub mod meta; pub mod meta;
pub use body::Body; pub use body::Body;

View file

@ -0,0 +1,6 @@
//! Gemini response could have different MIME type for data.
//! Use one of these components to parse response according to content type expected.
//!
//! * MIME type could be detected using `client::response::Meta` parser
pub mod text;

View file

@ -0,0 +1,4 @@
#[derive(Debug)]
pub enum Error {
// nothing yet..
}