MCPcopy
hub / github.com/willnorris/imageproxy / String

Method String

data.go:321–325  ·  view source on GitHub ↗

String returns the request URL as a string, with r.Options encoded in the URL fragment.

()

Source from the content-addressed store, hash-verified

319// String returns the request URL as a string, with r.Options encoded in the
320// URL fragment.
321func (r Request) String() string {
322 u := *r.URL
323 u.Fragment = r.Options.String()
324 return u.String()
325}
326
327// NewRequest parses an http.Request into an imageproxy Request. Options and
328// the remote image URL are specified in the request path, formatted as:

Callers 2

serveImageMethod · 0.95
TestNewRequest_BaseURLFunction · 0.95

Calls 1

StringMethod · 0.45

Tested by 1

TestNewRequest_BaseURLFunction · 0.76