Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
141
func
(r *RpcMessage) IsRpcRequest() bool {
142
return
r.Command !=
""
|| r.ReqId !=
""
143
}
144
145
func
(r *RpcMessage) Validate() error {
146
if
r.ReqId !=
""
&& r.ResId !=
""
{
Callers
2
runServer
Method · 0.95
runLinkClientRecvLoop
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected