MCPcopy Create free account
hub / github.com/kataras/iris / HTML

Method HTML

context/context.go:4043–4046  ·  view source on GitHub ↗

HTML writes out a string as text/html.

(format string, args ...interface{})

Source from the content-addressed store, hash-verified

4041
4042// HTML writes out a string as text/html.
4043func (ctx *Context) HTML(format string, args ...interface{}) (int, error) {
4044 ctx.ContentType(ContentHTMLHeaderValue)
4045 return ctx.Writef(format, args...)
4046}
4047
4048// ProtoMarshalOptions is a type alias for protojson.MarshalOptions.
4049type ProtoMarshalOptions = protojson.MarshalOptions

Callers 7

RenderFormFunction · 0.45
DispatchMethod · 0.45
DispatchMethod · 0.45
TestHandleServerFunction · 0.45
HTMLFunction · 0.45
getBuiltinFuncsMethod · 0.45

Calls 2

ContentTypeMethod · 0.95
WritefMethod · 0.95

Tested by 3

DispatchMethod · 0.36
DispatchMethod · 0.36
TestHandleServerFunction · 0.36