MCPcopy Index your code
hub / github.com/labstack/echo / HTMLBlob

Method HTMLBlob

context.go:519–521  ·  view source on GitHub ↗

HTMLBlob sends an HTTP blob response with status code.

(code int, b []byte)

Source from the content-addressed store, hash-verified

517
518// HTMLBlob sends an HTTP blob response with status code.
519func (c *Context) HTMLBlob(code int, b []byte) (err error) {
520 return c.Blob(code, MIMETextHTMLCharsetUTF8, b)
521}
522
523// String sends a string response with status code.
524func (c *Context) String(code int, s string) (err error) {

Callers 3

TestContextHTMLBlobFunction · 0.95
RenderMethod · 0.95
HTMLMethod · 0.95

Calls 1

BlobMethod · 0.95

Tested by 1

TestContextHTMLBlobFunction · 0.76