mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
update variable name
This commit is contained in:
parent
64eb173319
commit
c9c8b39513
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ fn simple_socket_request_async() {
|
|||
// Parse URI
|
||||
match Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE) {
|
||||
// Begin async request
|
||||
Ok(uri) => ggemini::client::simple_socket_request_async(uri, |response| match response {
|
||||
Ok(uri) => ggemini::client::simple_socket_request_async(uri, |result| match result {
|
||||
// Process response
|
||||
Ok(response) => {
|
||||
// Expect success status
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue