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

dave08

04/12/2021, 3:41 PM
Hi! Does `withTestApplication`'s
handleRequest
have a way to handle requests to different ports (in the routing I have
port(...) { ... }
)? (This is an older api that's running on Ktor version 1.3.0)
I figured it out:
addHeader(HttpHeaders.Host, ":8050")
8 Views