XMLPretty sends a pretty-print XML with status code.
(code int, i any, indent string)
| 624 | |
| 625 | // XMLPretty sends a pretty-print XML with status code. |
| 626 | func (c *Context) XMLPretty(code int, i any, indent string) (err error) { |
| 627 | return c.xml(code, i, indent) |
| 628 | } |
| 629 | |
| 630 | // XMLBlob sends an XML blob response with status code. |
| 631 | func (c *Context) XMLBlob(code int, b []byte) (err error) { |