ktor-server-core / io.ktor.features / DefaultHeaders / Configuration / clock

clock

var clock: () -> Long

Provides time source. Useful for testing.