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

Function SetFileReader

request_wrapper.go:67–69  ·  view source on GitHub ↗

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

(paramName, filePath string, reader io.Reader)

Source from the content-addressed store, hash-verified

65// SetFileReader is a global wrapper methods which delegated
66// to the default client, create a request and SetFileReader for request.
67func SetFileReader(paramName, filePath string, reader io.Reader) *Request {
68 return defaultClient.R().SetFileReader(paramName, filePath, reader)
69}
70
71// SetFileBytes is a global wrapper methods which delegated
72// to the default client, create a request and SetFileBytes for request.

Callers

nothing calls this directly

Calls 2

SetFileReaderMethod · 0.80
RMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…