gproxy_protocol/transform/openai/websocket/
context.rs1#[derive(Debug, Clone, PartialEq, Eq, Default)]
2pub struct OpenAiWebsocketTransformContext {
3 pub warnings: Vec<String>,
4}
5
6impl OpenAiWebsocketTransformContext {
7 pub fn push_warning(&mut self, warning: impl Into<String>) {
8 self.warnings.push(warning.into());
9 }
10}