MCPcopy
hub / github.com/labstack/echo / SetRequest

Method SetRequest

context.go:172–174  ·  view source on GitHub ↗

SetRequest sets `*http.Request`.

(r *http.Request)

Source from the content-addressed store, hash-verified

170
171// SetRequest sets `*http.Request`.
172func (c *Context) SetRequest(r *http.Request) {
173 c.request = r
174}
175
176// Response returns `*Response`.
177func (c *Context) Response() http.ResponseWriter {

Callers 7

TestRouterParamFunction · 0.95
testRouterAPIFunction · 0.95
newContextFunction · 0.95
TestContext_RequestFunction · 0.80
WrapMiddlewareFunction · 0.80
ToMiddlewareMethod · 0.80
NextMethod · 0.80

Calls

no outgoing calls

Tested by 4

TestRouterParamFunction · 0.76
testRouterAPIFunction · 0.76
TestContext_RequestFunction · 0.64
NextMethod · 0.64