Package org.brightify.hyperdrive.krpc.session

Types

IncomingContextUpdate
Link copied to clipboard
common
data class IncomingContextUpdate(updates: Map<Session.Context.Key<*>, IncomingContextUpdate.Modification>)
IncomingContextUpdateSerializer
Link copied to clipboard
common
class IncomingContextUpdateSerializer(sessionContextKeyRegistry: SessionContextKeyRegistry) : DeserializationStrategy<IncomingContextUpdate>
OutgoingContextUpdate
Link copied to clipboard
common
data class OutgoingContextUpdate(updates: Map<Session.Context.Key<Any>, OutgoingContextUpdate.Modification<Any>>)
OutgoingContextUpdateSerializer
Link copied to clipboard
common
class OutgoingContextUpdateSerializer : SerializationStrategy<OutgoingContextUpdate>
Session
Link copied to clipboard
common
interface Session : CoroutineContext.Element
SessionContextKeyRegistry
Link copied to clipboard
common
interface SessionContextKeyRegistry

Functions

withSession
Link copied to clipboard
common
inline suspend fun <T> withSession(block: Session.() -> T): T

Properties

rpcSession
Link copied to clipboard
common
val CoroutineContext.rpcSession: Session