From ce19e94db96c812b35ddfacdf1cc6198a4dd6c67 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 1 Dec 2024 13:01:30 +0200 Subject: [PATCH] add comment --- src/client.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index 0264be9..d66afa7 100644 --- a/src/client.rs +++ b/src/client.rs @@ -54,7 +54,6 @@ impl Client { /// 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 /// * 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( &self, uri: Uri, @@ -101,6 +100,8 @@ impl Client { // 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) { self.is_session_resumption = is_enabled }