WriteString write (200, string, text/plain) to response
(contents ...interface{})
| 576 | |
| 577 | // WriteString write (200, string, text/plain) to response |
| 578 | func (ctx *HttpContext) WriteString(contents ...interface{}) error { |
| 579 | return ctx.WriteStringC(defaultHttpCode, contents...) |
| 580 | } |
| 581 | |
| 582 | // WriteStringC write (httpCode, string, text/plain) to response |
| 583 | func (ctx *HttpContext) WriteStringC(code int, contents ...interface{}) error { |
nothing calls this directly
no test coverage detected