DateCallback

class DateCallback(name: String = "date") : Function1<HttpContext, HttpContext>

Callback that adds the date header to the response (caching its value).

Constructors

Link copied to clipboard
constructor(name: String = "date")

Functions

Link copied to clipboard
open operator override fun invoke(context: HttpContext): HttpContext