diff --git a/ngrok/src/internals/proto.rs b/ngrok/src/internals/proto.rs index 016f91b..66a0030 100644 --- a/ngrok/src/internals/proto.rs +++ b/ngrok/src/internals/proto.rs @@ -37,7 +37,6 @@ pub const RESTART_REQ: StreamType = StreamType::clamp(4); pub const STOP_REQ: StreamType = StreamType::clamp(5); pub const UPDATE_REQ: StreamType = StreamType::clamp(6); pub const BIND_LABELED_REQ: StreamType = StreamType::clamp(7); -pub const SRV_INFO_REQ: StreamType = StreamType::clamp(8); pub const STOP_TUNNEL_REQ: StreamType = StreamType::clamp(9); pub const VERSION: &[&str] = &["3", "2"]; // integers in priority order @@ -548,18 +547,6 @@ pub struct StopTunnel { pub type UpdateResp = CommandResp; rpc_req!(Update, UpdateResp, UPDATE_REQ); -#[derive(Serialize, Deserialize, Debug, Clone, Copy, Default)] -#[serde(rename_all = "PascalCase")] -pub struct SrvInfo {} - -#[derive(Serialize, Deserialize, Debug, Clone, Default)] -#[serde(rename_all = "PascalCase")] -pub struct SrvInfoResp { - pub region: String, -} - -rpc_req!(SrvInfo, SrvInfoResp, SRV_INFO_REQ); - /// The version of [PROXY protocol](https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) /// to use with this tunnel. /// @@ -863,12 +850,6 @@ pub struct TlsTermination { pub sealed_key: Vec, } -#[derive(Serialize, Deserialize, Debug, Clone, Default)] -#[serde(rename_all = "PascalCase")] -pub struct LabelEndpoint { - pub labels: HashMap, -} - #[derive(Serialize, Deserialize, Debug, Clone, Default)] #[serde(rename_all = "PascalCase", default)] pub struct Policy {