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

Method StatusCode

client/response.go:43–45  ·  view source on GitHub ↗

StatusCode returns the HTTP status code of the executed request.

()

Source from the content-addressed store, hash-verified

41
42// StatusCode returns the HTTP status code of the executed request.
43func (r *Response) StatusCode() int {
44 return r.RawResponse.StatusCode()
45}
46
47// Protocol returns the HTTP protocol used for the request.
48func (r *Response) Protocol() string {

Calls

no outgoing calls