mirror of https://git.sr.ht/~garritfra/taurus
Browse Source
This patch adds TaurusError::InvalidRequest` and updates GeminiRequest to impl FromStr and expose Gemini::parse that will attempt to parse a string and return an instance of TaurusError::InvalidRequest if an error occurs - such as the request being malformed, or the url being invalid. Signed-off-by: Josh Leeb-du Toit <mail@joshleeb.com>master
Josh Leeb-du Toit
4 years ago
committed by
Garrit Franke
3 changed files with 73 additions and 27 deletions
Loading…
Reference in new issue