ktor-server-core / io.ktor.features / HSTS / Configuration / maxAge

maxAge

var maxAge: Duration
Deprecated: Use maxAgeInSeconds or maxAgeDuration instead.

Duration to tell the client to keep the host in a list of known HSTS hosts