Package org.brightify.hyperdrive.krpc.session

Types

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

Functions

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

Properties

Link copied to clipboard
val CoroutineContext.rpcSession: Session