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

Function SetBodyString

request_wrapper.go:317–319  ·  view source on GitHub ↗

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

(body string)

Source from the content-addressed store, hash-verified

315// SetBodyString is a global wrapper methods which delegated
316// to the default client, create a request and SetBodyString for request.
317func SetBodyString(body string) *Request {
318 return defaultClient.R().SetBodyString(body)
319}
320
321// SetBodyJsonString is a global wrapper methods which delegated
322// to the default client, create a request and SetBodyJsonString for request.

Callers

nothing calls this directly

Calls 2

RMethod · 0.80
SetBodyStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…