mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
update comments
This commit is contained in:
parent
17b2fcaaae
commit
98c6150f74
2 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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()`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue