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

Method SetOutputDirectory

client.go:265–268  ·  view source on GitHub ↗

SetOutputDirectory set output directory that response will be downloaded to.

(dir string)

Source from the content-addressed store, hash-verified

263// SetOutputDirectory set output directory that response will
264// be downloaded to.
265func (c *Client) SetOutputDirectory(dir string) *Client {
266 c.outputDirectory = dir
267 return c
268}
269
270// SetCertFromFile helps to set client certificates from cert and key file.
271func (c *Client) SetCertFromFile(certFile, keyFile string) *Client {

Callers 2

TestSetOutputDirectoryFunction · 0.80
SetOutputDirectoryFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestSetOutputDirectoryFunction · 0.64