MCPcopy Create free account
hub / github.com/CPChain/chain / ReadRequestHeaders

Method ReadRequestHeaders

api/rpc/types.go:100–100  ·  view source on GitHub ↗

Read next request

()

Source from the content-addressed store, hash-verified

98type ServerCodec interface {
99 // Read next request
100 ReadRequestHeaders() ([]rpcRequest, bool, Error)
101 // Parse request argument to the given types
102 ParseRequestArguments(argTypes []reflect.Type, params interface{}) ([]reflect.Value, Error)
103 // Assemble success response, expects response id and payload

Callers 2

readRequestMethod · 0.65
TestJSONRequestParsingFunction · 0.65

Implementers 1

jsonCodecapi/rpc/json.go

Calls

no outgoing calls

Tested by 1

TestJSONRequestParsingFunction · 0.52