Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ String
Method
String
api/rpc/client.go:103–106 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
101
}
102
103
func
(msg *jsonrpcMessage) String() string {
104
b, _ := json.Marshal(msg)
105
return
string(b)
106
}
107
108
// Client represents a connection to an RPC server.
109
type
Client
struct
{
Callers
6
RegisterName
Method · 0.45
handle
Method · 0.45
sendHTTP
Method · 0.45
TestClientReconnect
Function · 0.45
httpTestClient
Function · 0.45
TestJSONRequestParamsParsing
Function · 0.45
Calls
no outgoing calls
Tested by
3
TestClientReconnect
Function · 0.36
httpTestClient
Function · 0.36
TestJSONRequestParamsParsing
Function · 0.36