WriteBlob write []byte content to response
(contentType string, b []byte)
| 598 | |
| 599 | // WriteBlob write []byte content to response |
| 600 | func (ctx *HttpContext) WriteBlob(contentType string, b []byte) error { |
| 601 | return ctx.WriteBlobC(defaultHttpCode, contentType, b) |
| 602 | } |
| 603 | |
| 604 | // WriteBlobC write (httpCode, []byte) to response |
| 605 | func (ctx *HttpContext) WriteBlobC(code int, contentType string, b []byte) error { |
no test coverage detected