MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / PostProcessResponse

Function PostProcessResponse

client/utils/rest.go:265–284  ·  view source on GitHub ↗

PostProcessResponse performs post process for rest response

(w http.ResponseWriter, cdc *codec.Codec, response interface{}, indent bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 5

WriteErrorResponseFunction · 0.85
SetMethod · 0.65
WriteMethod · 0.65
MarshalJSONMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected