mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
rename method
This commit is contained in:
parent
bfc52606c3
commit
16af9499b5
3 changed files with 5 additions and 5 deletions
|
|
@ -1,11 +1,11 @@
|
|||
use glib::{Uri, UriFlags};
|
||||
|
||||
#[test]
|
||||
fn simple_socket_request_async() {
|
||||
fn single_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, |result| match result {
|
||||
Ok(uri) => ggemini::client::single_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