MCPcopy Create free account
hub / github.com/kataras/iris / Path

Method Path

context/context.go:894–896  ·  view source on GitHub ↗

Path returns the full request path, escaped if EnablePathEscape config field is true.

()

Source from the content-addressed store, hash-verified

892// Path returns the full request path,
893// escaped if EnablePathEscape config field is true.
894func (ctx *Context) Path() string {
895 return ctx.RequestPath(ctx.app.ConfigurationReadOnly().GetEnablePathEscape())
896}
897
898// DecodeQuery returns the uri parameter as url (string)
899// useful when you want to pass something to a database and be valid to retrieve it via context.Param

Callers 2

FindClosestMethod · 0.95
FullRequestURIMethod · 0.95

Calls 3

RequestPathMethod · 0.95
GetEnablePathEscapeMethod · 0.65
ConfigurationReadOnlyMethod · 0.65

Tested by

no test coverage detected