MCPcopy Create free account
hub / github.com/chainreactors/spray / URI

Method URI

core/ihttp/request.go:172–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func (r *Request) URI() string {
173 if r.FastRequest != nil {
174 return r.FastRequest.URI().String()
175 } else if r.StandardRequest != nil {
176 return r.StandardRequest.URL.String()
177 } else {
178 return ""
179 }
180}
181
182func (r *Request) Host() string {
183 if r.FastRequest != nil {

Callers 6

TestBuild_FuzzInPathFunction · 0.80
TestBuild_FuzzInQueryFunction · 0.80
TestBuild_NoFuzzFunction · 0.80
invokeMethod · 0.80
invokeNoScopeMethod · 0.80
InvokeMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by 3

TestBuild_FuzzInPathFunction · 0.64
TestBuild_FuzzInQueryFunction · 0.64
TestBuild_NoFuzzFunction · 0.64