MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / IsRpcRequest

Method IsRpcRequest

pkg/wshutil/wshrpc.go:141–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141func (r *RpcMessage) IsRpcRequest() bool {
142 return r.Command != "" || r.ReqId != ""
143}
144
145func (r *RpcMessage) Validate() error {
146 if r.ReqId != "" && r.ResId != "" {

Callers 2

runServerMethod · 0.95
runLinkClientRecvLoopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected