Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Dec 1, 2024
1 parent 94d63bd commit ce19e94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit ce19e94

Please sign in to comment.