suspend fun StompServerHandler.onAuthenticationRequestAwait(connection: StompServerConnection, login: String, passcode: String): Boolean
Called when the client connects to a server requiring authentication. It invokes the configured using io.vertx.ext.stomp.StompServerHandler.
connection
- server connection that contains session ID
handler
- handler receiving the authentication result
Returnthe
current io.vertx.ext.stomp.StompServerHandler *