mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
add comment
This commit is contained in:
parent
94d63bd6de
commit
ce19e94db9
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,6 @@ impl Client {
|
||||||
/// Make new async request to given [Uri](https://docs.gtk.org/glib/struct.Uri.html),
|
/// Make new async request to given [Uri](https://docs.gtk.org/glib/struct.Uri.html),
|
||||||
/// callback with new `Response`on success or `Error` on failure
|
/// callback with new `Response`on success or `Error` on failure
|
||||||
/// * compatible with user (certificate) and guest (certificate-less) connection types
|
/// * compatible with user (certificate) and guest (certificate-less) connection types
|
||||||
/// * disables default `session-resumption-enabled` property to apply certificate change ability in runtime
|
|
||||||
pub fn request_async(
|
pub fn request_async(
|
||||||
&self,
|
&self,
|
||||||
uri: Uri,
|
uri: Uri,
|
||||||
|
|
@ -101,6 +100,8 @@ impl Client {
|
||||||
|
|
||||||
// Setters
|
// Setters
|
||||||
|
|
||||||
|
/// Change `session-resumption-enabled` property to apply new certificate option in runtime
|
||||||
|
/// * disabled by default
|
||||||
pub fn set_session_resumption(&mut self, is_enabled: bool) {
|
pub fn set_session_resumption(&mut self, is_enabled: bool) {
|
||||||
self.is_session_resumption = is_enabled
|
self.is_session_resumption = is_enabled
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue