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

Rachid

05/07/2020, 8:19 PM
Hello, I'm writing a "unit" test for a WebSocket server in ktor. I have it working using
handleWebSocketConversation
, In the Application I use:
Copy code
install(Sessions) {
        cookie<ClientSession>("SESSION")
    }
Now I want to set a pre defined cookie in the test. Any ideas or pointers?