mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
define socket protocol for gemini connection
This commit is contained in:
parent
3c9b964a6b
commit
a9dd41c978
2 changed files with 5 additions and 0 deletions
|
|
@ -282,6 +282,10 @@ void Page::navigation_reload(
|
|||
Gio::TlsCertificateFlags::NO_FLAGS
|
||||
);
|
||||
|
||||
socket__client->set_protocol(
|
||||
Gio::Socket::Protocol::TCP
|
||||
);
|
||||
|
||||
socket__client->set_timeout(
|
||||
15 // @TODO
|
||||
);
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#include <giomm/outputstream.h>
|
||||
#include <giomm/simpleaction.h>
|
||||
#include <giomm/simpleactiongroup.h>
|
||||
#include <giomm/socket.h>
|
||||
#include <giomm/socketclient.h>
|
||||
#include <giomm/socketconnection.h>
|
||||
#include <glibmm/i18n.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue