handleWebSocket

fun handleWebSocket(uri: String, setup: TestApplicationRequest.() -> Unit): TestApplicationCall

Makes a test request that sets up a websocket session and waits for completion.