vertx / io.vertx.kotlin.ext.web.sstore / io.vertx.ext.web.sstore.SessionStore

Extensions for io.vertx.ext.web.sstore.SessionStore

clearAwait

suspend fun SessionStore.clearAwait(): Unit

Remove all sessions from the store.

deleteAwait

suspend fun SessionStore.deleteAwait(id: String): Unit

Delete the session with the specified ID.

getAwait

suspend fun SessionStore.getAwait(cookieValue: String): Session?

Get the session with the specified ID.

putAwait

suspend fun SessionStore.putAwait(session: Session): Unit

Add a session with the specified ID.

sizeAwait

suspend fun SessionStore.sizeAwait(): Int

Get the number of sessions in the store.