MCPcopy Create free account
hub / github.com/imroc/req / SetFileBytes

Function SetFileBytes

request_wrapper.go:73–75  ·  view source on GitHub ↗

SetFileBytes is a global wrapper methods which delegated to the default client, create a request and SetFileBytes for request.

(paramName, filename string, content []byte)

Source from the content-addressed store, hash-verified

71// SetFileBytes is a global wrapper methods which delegated
72// to the default client, create a request and SetFileBytes for request.
73func SetFileBytes(paramName, filename string, content []byte) *Request {
74 return defaultClient.R().SetFileBytes(paramName, filename, content)
75}
76
77// SetFiles is a global wrapper methods which delegated
78// to the default client, create a request and SetFiles for request.

Callers

nothing calls this directly

Calls 2

SetFileBytesMethod · 0.80
RMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…