(ctx context.Context, method string, body json.RawMessage)
| 28 | // 当 server 发送对应的 cancel_id 帧时,agent 会取消传入的 ctx。 |
| 29 | type Dispatcher interface { |
| 30 | Handle(ctx context.Context, method string, body json.RawMessage) (json.RawMessage, error) |
| 31 | } |
| 32 | |
| 33 | // NoopDispatcher 是用于测试或过渡期的空实现。 |
no outgoing calls
no test coverage detected