mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 09:05:45 +00:00
rename mode const
This commit is contained in:
parent
8feab6b93b
commit
161142c809
4 changed files with 6 additions and 6 deletions
|
|
@ -51,7 +51,7 @@ fn main() -> ExitCode {
|
|||
Client::new().request_async(
|
||||
Request::Gemini { // or `Request::Titan`
|
||||
uri: Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE).unwrap(),
|
||||
mode: Mode::Header // handle content separately (based on MIME)
|
||||
mode: Mode::HeaderOnly // handle content separately (based on MIME)
|
||||
},
|
||||
Priority::DEFAULT,
|
||||
Cancellable::new(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue