https://kotlinlang.org logo
#ktor
Title
# ktor
m

Matt

01/23/2019, 3:21 PM
Also: we noticed that things like
Cookie.expires
has become a
GMTDate
-- what was the thinking behind moving away from standard Java date types to a homebrewed date API?
d

diesieben07

01/23/2019, 3:30 PM
Ktor is multiplatform, it can't rely on Java types.
👍 1
m

Matt

01/23/2019, 3:34 PM
What other platforms does Ktor target? Isn't it pretty coupled to a lot of JVM stuff?
d

diesieben07

01/23/2019, 3:35 PM
Afaik it also runs on native (at least experimentally) and JS at some point
b

bdawg.io

01/23/2019, 4:01 PM
Most of the library is written multi-platform. It does provide helpers for migrating between JVM/ktor types (ie,
Url
vs
URI
) and entry points for using JVM engines (ie, Netty, Jetty), but for the most part, it's fairly uncoupled
8 Views