(id: string, code: number, msg: string, payload: P)
| 74 | } |
| 75 | |
| 76 | export function buildAck<P>(id: string, code: number, msg: string, payload: P): AckFrame<P> { |
| 77 | return { type: 'ack', id, code, msg, payload }; |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * WS.md §2: event envelope (S→C). `seq` is per-session monotonically |
no outgoing calls
no test coverage detected