feat(unstable): fetch tunnel proxy

This commit is contained in:
snek 2025-09-18 17:05:05 +02:00
parent ebcb2fa294
commit 2e9daab3ea
No known key found for this signature in database
10 changed files with 81 additions and 25 deletions

View file

@ -224,6 +224,12 @@ impl ServerCertVerifier for NoServerNameVerification {
}
}
#[derive(Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub enum TunnelKind {
Agent,
}
#[derive(Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase", tag = "transport")]
pub enum Proxy {
@ -243,6 +249,9 @@ pub enum Proxy {
cid: u32,
port: u32,
},
Tunnel {
kind: TunnelKind,
},
}
#[derive(Deserialize, Default, Debug, Clone)]