toggle menu
hexagon
3.7.2
jvm
switch theme
search in API
http_server
/
com.hexagonkt.http.server.callbacks
/
DateCallback
Date
Callback
class
DateCallback
(
name
:
String
=
"date"
)
:
Function1
<
HttpContext
,
HttpContext
>
Callback that adds the
date
header to the response (caching its value).
Members
Constructors
Date
Callback
Link copied to clipboard
constructor
(
name
:
String
=
"date"
)
Functions
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
context
:
HttpContext
)
:
HttpContext