HTML sends an HTTP response with status code.
(code int, html string)
| 512 | |
| 513 | // HTML sends an HTTP response with status code. |
| 514 | func (c *Context) HTML(code int, html string) (err error) { |
| 515 | return c.HTMLBlob(code, stringToBytes(html)) |
| 516 | } |
| 517 | |
| 518 | // HTMLBlob sends an HTTP blob response with status code. |
| 519 | func (c *Context) HTMLBlob(code int, b []byte) (err error) { |