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

Method SetSecureCookies

internal/server/server.go:1387–1389  ·  view source on GitHub ↗

SetSecureCookies enables the Secure flag on all cookies.

(secure bool)

Source from the content-addressed store, hash-verified

1385
1386// SetSecureCookies enables the Secure flag on all cookies.
1387func (s *Server) SetSecureCookies(secure bool) {
1388 s.secureCookies = secure
1389}
1390
1391// countResumeGap records a resume this instance refused to serve, for the gaps
1392// the BUS never sees (BUG-2731).

Callers 1

serveCmdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected