update comments

This commit is contained in:
yggverse 2024-12-01 03:11:40 +02:00
parent 17b2fcaaae
commit 98c6150f74
2 changed files with 3 additions and 0 deletions

View file

@ -67,6 +67,8 @@ 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
/// * 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,

View file

@ -86,6 +86,7 @@ impl Connection {
/// Get [IOStream](https://docs.gtk.org/gio/class.IOStream.html) /// Get [IOStream](https://docs.gtk.org/gio/class.IOStream.html)
/// for [SocketConnection](https://docs.gtk.org/gio/class.SocketConnection.html) /// for [SocketConnection](https://docs.gtk.org/gio/class.SocketConnection.html)
/// or [TlsClientConnection](https://docs.gtk.org/gio/iface.TlsClientConnection.html) (if available) /// or [TlsClientConnection](https://docs.gtk.org/gio/iface.TlsClientConnection.html) (if available)
/// * compatible with user (certificate) and guest (certificate-less) connection types
/// * useful also to keep `Connection` active in async I/O context /// * useful also to keep `Connection` active in async I/O context
pub fn stream(&self) -> impl IsA<IOStream> { pub fn stream(&self) -> impl IsA<IOStream> {
// * do not replace with `tls_client_connection.base_io_stream()` // * do not replace with `tls_client_connection.base_io_stream()`