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

Method Secure

ctx.go:575–577  ·  view source on GitHub ↗

Secure returns whether a secure connection was established.

()

Source from the content-addressed store, hash-verified

573
574// Secure returns whether a secure connection was established.
575func (c *DefaultCtx) Secure() bool {
576 return c.Scheme() == schemeHTTPS
577}
578
579// Status sets the HTTP status for the response.
580// This method is chainable.

Callers

nothing calls this directly

Calls 1

SchemeMethod · 0.65

Tested by

no test coverage detected