handleWebSocket

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

Make a test request that setup a websocket session and wait for completion