(protocol: crate::l7::L7Protocol)
| 25 | |
| 26 | impl JsonRpcInspectionMode { |
| 27 | pub(crate) fn for_protocol(protocol: crate::l7::L7Protocol) -> Self { |
| 28 | match protocol { |
| 29 | crate::l7::L7Protocol::Mcp => Self::Mcp, |
| 30 | _ => Self::JsonRpc, |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | /// Endpoint-specific JSON-RPC-family parser settings. |
nothing calls this directly
no outgoing calls
no test coverage detected