The `sessionFor` method looks like so: ``` susp...
# server
f
The
sessionFor
method looks like so:
Copy code
suspend fun sessionFor(url: String): WebSocketSession {
        val client = StandardWebSocketClient()
        var session: WebSocketSession? = null
        client.execute(URI(url)) {
            session = it
            Mono.empty()
        }.awaitFirst()
        return session!!
    }