mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-27 11:34:14 +00:00
rename methods
This commit is contained in:
parent
4f7df8ea44
commit
4698d7dce1
@ -67,7 +67,7 @@ impl Request {
|
||||
feature,
|
||||
referrer,
|
||||
uri,
|
||||
} => gemini::send(client, feature, uri, referrer, cancellable, callback),
|
||||
} => gemini::request(client, feature, uri, referrer, cancellable, callback),
|
||||
Self::Titan {
|
||||
referrer: _,
|
||||
uri: _,
|
||||
|
@ -5,7 +5,7 @@ use gtk::{
|
||||
glib::{Priority, Uri, UriFlags},
|
||||
};
|
||||
|
||||
pub fn send(
|
||||
pub fn request(
|
||||
client: &Client,
|
||||
feature: Feature,
|
||||
uri: Uri,
|
||||
@ -13,7 +13,7 @@ pub fn send(
|
||||
cancellable: Cancellable,
|
||||
callback: impl FnOnce(Response) + 'static,
|
||||
) {
|
||||
request(
|
||||
send(
|
||||
client,
|
||||
uri.clone(),
|
||||
cancellable.clone(),
|
||||
@ -27,7 +27,7 @@ pub fn send(
|
||||
}
|
||||
|
||||
/// Shared request interface for Gemini protocol
|
||||
fn request(
|
||||
fn send(
|
||||
client: &Client,
|
||||
uri: Uri,
|
||||
cancellable: Cancellable,
|
||||
|
Loading…
x
Reference in New Issue
Block a user