MCPcopy Index your code
hub / github.com/imroc/req / Options

Function Options

request_wrapper.go:287–289  ·  view source on GitHub ↗

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

(url string)

Source from the content-addressed store, hash-verified

285// Options is a global wrapper methods which delegated
286// to the default client, create a request and Options for request.
287func Options(url string) (*Response, error) {
288 return defaultClient.R().Options(url)
289}
290
291// MustHead is a global wrapper methods which delegated
292// to the default client, create a request and MustHead for request.

Callers

nothing calls this directly

Calls 2

RMethod · 0.80
OptionsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…