Skip to main content

bump_ws_filtered

Function bump_ws_filtered 

Source
pub fn bump_ws_filtered(reason: &str, client_key_id: &str)
Expand description

便捷:记录 ws 因 scope 过滤掉的事件.

v1.4.106 codex 0542 F4 [P3]: 第一参数语义实际是 push drop reason (不是 required_scope). label 名 v1.4.106 起渲染时改为 reason= 但函数签名 保持兼容 (现存 caller 传 event_type / "trade_market" 等不变). 新代码 推荐走 bump_ws_filtered_typed 拿 closed-set PushDropReason 防漂移.