MCPcopy Create free account
hub / github.com/BryanMwangi/pine / SetRequestURI

Method SetRequestURI

client.go:106–109  ·  view source on GitHub ↗

Use this to set the url of the request For example: request.SetRequestURI("https://example.com/api/v1/users")

(uri string)

Source from the content-addressed store, hash-verified

104// For example:
105// request.SetRequestURI("https://example.com/api/v1/users")
106func (r *Request) SetRequestURI(uri string) *Request {
107 r.uri = uri
108 return r
109}
110
111// Use this to set the method of the request
112//

Callers 5

TestClient_SendRequestFunction · 0.80
TestClient_ReadResponseFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestClient_SendRequestFunction · 0.64
TestClient_ReadResponseFunction · 0.64