Add grpc stream settings

This commit is contained in:
Keivan-sf
2023-10-21 11:42:12 +03:30
parent d5902ab926
commit 422549ece6
2 changed files with 16 additions and 0 deletions

View File

@@ -31,6 +31,13 @@ pub struct NonHeaderObject {
pub r#type: String,
}
#[allow(non_snake_case)]
#[derive(Serialize, Deserialize)]
pub struct GRPCSettings {
pub multiMode: bool,
pub serviceName: String,
}
#[allow(non_snake_case)]
#[derive(Serialize, Deserialize)]
pub struct RealitySettings {
@@ -80,6 +87,7 @@ pub struct StreamSettings {
pub wsSettings: Option<WsSettings>,
pub tcpSettings: Option<TCPSettings>,
pub realitySettings: Option<RealitySettings>,
pub grpcSettings: Option<GRPCSettings>,
}
#[allow(non_snake_case)]