JSONP sends a JSONP response with status code. It uses `callback` to construct the JSONP payload.
(code int, callback string, i any)
| 583 | // JSONP sends a JSONP response with status code. It uses `callback` to construct |
| 584 | // the JSONP payload. |
| 585 | func (c *Context) JSONP(code int, callback string, i any) (err error) { |
| 586 | return c.jsonPBlob(code, callback, i) |
| 587 | } |
| 588 | |
| 589 | // JSONPBlob sends a JSONP blob response with status code. It uses `callback` |
| 590 | // to construct the JSONP payload. |