MCPcopy
hub / github.com/gofiber/fiber / Set

Method Set

res_interface_gen.go:141–141  ·  view source on GitHub ↗

Set sets the response's HTTP header field to the specified key, value.

(key, val string)

Source from the content-addressed store, hash-verified

139 SendStreamWriter(streamWriter func(*bufio.Writer)) error
140 // Set sets the response's HTTP header field to the specified key, value.
141 Set(key, val string)
142 setCanonical(key, val string)
143 // Status sets the HTTP status for the response.
144 // This method is chainable.

Implementers 1

Calls

no outgoing calls