XML sends an XML response with status code.
(code int, i any)
| 619 | |
| 620 | // XML sends an XML response with status code. |
| 621 | func (c *Context) XML(code int, i any) (err error) { |
| 622 | return c.xml(code, i, "") |
| 623 | } |
| 624 | |
| 625 | // XMLPretty sends a pretty-print XML with status code. |
| 626 | func (c *Context) XMLPretty(code int, i any, indent string) (err error) { |