We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eda2d9 commit d5d5ce7Copy full SHA for d5d5ce7
handler/api/api.go
@@ -101,11 +101,17 @@ type Request interface {
101
102
// GetURI returns the request URI. Ex. "/v1.0/hi?name=panda"
103
//
104
+ // This is analogous to the URL property of http.Request when used server-side.
105
+ // Those who wish to use url.URL can parse this with url.ParseRequestURI.
106
+ //
107
// Note: The URI may include query parameters.
108
GetURI() string
109
110
// SetURI overwrites the URI.
111
112
+ // This is analogous to setting the URL property of http.Request when used server-side.
113
+ // Those who wish to use url.URL can generate it with url.URL.String.
114
115
116
SetURI(uri string)
117
0 commit comments