mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
update example
This commit is contained in:
parent
8ee088270f
commit
b6ea830545
1 changed files with 3 additions and 5 deletions
|
|
@ -58,11 +58,9 @@ fn main() -> ExitCode {
|
|||
None, // optional `GTlsCertificate`
|
||||
|result| match result {
|
||||
Ok((response, _connection)) => match response {
|
||||
Response::Success(success) => match success {
|
||||
Success::Default(default) => match default.header.mime().unwrap().as_str() {
|
||||
Response::Success(success) => match success.mime().unwrap().as_str() {
|
||||
"text/gemini" => todo!(),
|
||||
_ => todo!(),
|
||||
}
|
||||
},
|
||||
_ => todo!(),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue