MCPcopy
hub / github.com/wavetermdev/waveterm / handleRequest

Method handleRequest

pkg/wshutil/wshrpc.go:279–283  ·  view source on GitHub ↗
(req *RpcMessage, ingressLinkId baseds.LinkId)

Source from the content-addressed store, hash-verified

277}
278
279func (w *WshRpc) handleRequest(req *RpcMessage, ingressLinkId baseds.LinkId) {
280 pprof.Do(context.Background(), pprof.Labels("rpc", req.Command), func(pprofCtx context.Context) {
281 w.handleRequestInternal(req, ingressLinkId, pprofCtx)
282 })
283}
284
285func (w *WshRpc) handleEventRecv(req *RpcMessage) {
286 if req.Data == nil {

Callers 1

runServerMethod · 0.95

Calls 1

handleRequestInternalMethod · 0.95

Tested by

no test coverage detected