mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
define socket protocol for gemini connection
This commit is contained in:
parent
3c9b964a6b
commit
a9dd41c978
@ -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…
x
Reference in New Issue
Block a user