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

Method Status

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

Status sets the HTTP status for the response. This method is chainable.

(status int)

Source from the content-addressed store, hash-verified

143 // Status sets the HTTP status for the response.
144 // This method is chainable.
145 Status(status int) Ctx
146 // Type sets the Content-Type HTTP header to the MIME type specified by the file extension.
147 Type(extension string, charset ...string) Ctx
148 // Vary adds the given header field to the Vary response header.

Implementers 1

Calls

no outgoing calls