Companion

object Companion

Functions

Link copied to clipboard
inline fun <P : Any> lookup(): PayloadCodec<P>?

Looks up the codec registered for payload type P, or returns null if none has been registered.

Link copied to clipboard
inline fun <P : Any> register(codec: PayloadCodec<P>)

Registers codec for payload type P.