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

Method URLParamEscape

context/context.go:1564–1566  ·  view source on GitHub ↗

URLParamEscape returns the escaped url query parameter from a request.

(name string)

Source from the content-addressed store, hash-verified

1562
1563// URLParamEscape returns the escaped url query parameter from a request.
1564func (ctx *Context) URLParamEscape(name string) string {
1565 return DecodeQuery(ctx.URLParam(name))
1566}
1567
1568// ErrNotFound is the type error which API users can make use of
1569// to check if a `Context` action of a `Handler` is type of Not Found,

Callers

nothing calls this directly

Calls 2

URLParamMethod · 0.95
DecodeQueryFunction · 0.85

Tested by

no test coverage detected