MCPcopy Create free account
hub / github.com/MiloOweno/kernel-lab / submitForm

Method submitForm

daemon/algod/api/client/restClient.go:172–255  ·  view source on GitHub ↗

submitForm is a helper used for submitting (ex.) GETs and POSTs to the server if expectNoContent is true, then it is expected that the response received will have a content length of zero

(
	response interface{}, path string, params interface{}, body interface{},
	requestMethod string, encodeJSON bool, decodeJSON bool, expectNoContent bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

getMethod · 0.95
deleteMethod · 0.95
getRawMethod · 0.95
postMethod · 0.95
AbortCatchupMethod · 0.95
CatchupMethod · 0.95
CompileMethod · 0.95
RawDryrunMethod · 0.95

Calls 11

NewJSONDecoderFunction · 0.92
mergeRawQueriesFunction · 0.85
extractErrorFunction · 0.85
ErrorfMethod · 0.65
MarshalMethod · 0.65
EncodeMethod · 0.65
StringMethod · 0.65
SetMethod · 0.65
CloseMethod · 0.65
DecodeMethod · 0.65
SetBytesMethod · 0.65

Tested by

no test coverage detected