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

Method ParseRequestArguments

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

Parse request argument to the given types

(argTypes []reflect.Type, params interface{})

Source from the content-addressed store, hash-verified

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
104 CreateResponse(id interface{}, reply interface{}) interface{}
105 // Assemble error response, expects response id and error

Callers 2

readRequestMethod · 0.65
TestJSONRequestParsingFunction · 0.65

Implementers 1

jsonCodecapi/rpc/json.go

Calls

no outgoing calls

Tested by 1

TestJSONRequestParsingFunction · 0.52