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

Method EndRequest

mvc/controller_test.go:110–112  ·  view source on GitHub ↗

called after every method (Get() or Post()).

(ctx *context.Context)

Source from the content-addressed store, hash-verified

108
109// called after every method (Get() or Post()).
110func (c *testControllerBeginAndEndRequestFunc) EndRequest(ctx *context.Context) {
111 ctx.Writef("done") // append "done" to the response
112}
113
114func (c *testControllerBeginAndEndRequestFunc) Get() {
115 c.Ctx.Writef(c.Username)

Callers

nothing calls this directly

Calls 1

WritefMethod · 0.80

Tested by

no test coverage detected