Перейти к содержанию

STRUCT

TransportMeta

public struct TransportMeta : Equatable, Hashable

Message identification data

Each transfered message contains these fields in order to be correctly identified and caught

Properties

room

public let room: String

Message scope, e.g. single user, single communication session, etc.

topic

public let topic: String

Message tag within a scope, e.g. signgle user's property, single communication step, etc.

Methods

init(room:topic:)

public init(room: String, topic: String)