MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / SetSecureCookies

Method SetSecureCookies

internal/server/server.go:795–797  ·  view source on GitHub ↗

SetSecureCookies enables the Secure flag on all cookies.

(secure bool)

Source from the content-addressed store, hash-verified

793
794// SetSecureCookies enables the Secure flag on all cookies.
795func (s *Server) SetSecureCookies(secure bool) {
796 s.secureCookies = secure
797}
798
799// SetMetrics attaches Prometheus metrics to the server.
800// Must be called before the first request is served.

Callers 1

serveCmdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected