set default timeout for SocketClient

This commit is contained in:
yggverse 2024-11-24 14:50:53 +02:00
parent 5176ff715a
commit c08225b007

View File

@ -469,6 +469,7 @@ impl Page {
// Init socket
let client = SocketClient::new();
client.set_protocol(SocketProtocol::Tcp);
client.set_timeout(10); // @TODO
// Return PEM string match request
let certificate = match self