MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / handleStreamAck

Method handleStreamAck

pkg/wshutil/wshrpc.go:312–325  ·  view source on GitHub ↗
(req *RpcMessage)

Source from the content-addressed store, hash-verified

310}
311
312func (w *WshRpc) handleStreamAck(req *RpcMessage) {
313 if w.StreamBroker == nil {
314 return
315 }
316 if req.Data == nil {
317 return
318 }
319 var ackPk wshrpc.CommandStreamAckData
320 err := utilfn.ReUnmarshal(&ackPk, req.Data)
321 if err != nil {
322 return
323 }
324 w.StreamBroker.RecvAck(ackPk)
325}
326
327func (w *WshRpc) handleRequestInternal(req *RpcMessage, ingressLinkId baseds.LinkId, pprofCtx context.Context) {
328 if req.Command == wshrpc.Command_EventRecv {

Callers 1

runServerMethod · 0.95

Calls 2

ReUnmarshalFunction · 0.92
RecvAckMethod · 0.65

Tested by

no test coverage detected