mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
implement proxy backend features
This commit is contained in:
parent
77ee4aa78c
commit
4c305f967f
10 changed files with 281 additions and 1 deletions
|
|
@ -67,6 +67,7 @@ impl Nex {
|
|||
}
|
||||
|
||||
let socket = SocketClient::new();
|
||||
socket.set_proxy_resolver(self.page.profile.proxy.matches(&uri).as_ref());
|
||||
socket.set_protocol(SocketProtocol::Tcp);
|
||||
socket.set_timeout(30); // @TODO optional
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue