update comment

This commit is contained in:
yggverse 2024-11-30 18:24:50 +02:00
parent 5b01a5af54
commit ec34228e0f

View file

@ -74,11 +74,11 @@ impl Client {
/// High-level method make new async request to given [Uri](https://docs.gtk.org/glib/struct.Uri.html), /// High-level method 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
/// ///
/// * method does not close new `Connection` created, hold it in `Session`, /// * method does not close new `Connection` by default, hold it in `Session`,
/// expects from user manual `Response` handle with close act on complete /// expect from user manual `Response` handle with close act on complete
/// * if new request match same `uri`, method auto-close previous connection, renew `Session` /// * ignore default session resumption provided by Glib TLS backend,
/// * method ignores default session resumption provided by Glib TLS backend, /// instead of that, applies new `certificate` to sessions match `uri` scope
/// implement certificate change ability in application runtime /// * implement certificate change ability in application runtime
pub fn request_async( pub fn request_async(
&self, &self,
uri: Uri, uri: Uri,