Package org.brightify.hyperdrive.krpc.session

Types

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

Functions

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

Properties

rpcSession
Link copied to clipboard
val CoroutineContext.rpcSession: Session