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