mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 09:35:33 +00:00
return connection in result
This commit is contained in:
parent
8df7af44b5
commit
788b792167
3 changed files with 42 additions and 36 deletions
|
|
@ -60,7 +60,7 @@ impl Client {
|
|||
priority: Priority,
|
||||
cancellable: Cancellable,
|
||||
certificate: Option<TlsCertificate>,
|
||||
callback: impl FnOnce(Result<Response, Error>) + 'static,
|
||||
callback: impl FnOnce(Result<(Response, Connection), Error>) + 'static,
|
||||
) {
|
||||
// Begin new connection
|
||||
// * [NetworkAddress](https://docs.gtk.org/gio/class.NetworkAddress.html) required for valid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue