Companion

object Companion

Functions

Link copied to clipboard
fun withJwt(clientName: String, jwt: String): SetupPayload

Creates a SetupPayload with clientName in data and jwt token in metadata type of "message/x.rsocket.authentication.v0", 0x7C. Should be used to create the SetupPayload which will be used in HubServerConnector.

Properties

Link copied to clipboard

Returns an empty SetupPayload.