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

STRUCT

TransportFilter

public struct TransportFilter : Equatable

Message filter

Partial meta is used as a message filter - receiving side may decide to wait for messages with specific room, specific topic, end even any message (with TransportFilter() as a filter)

Properties

room

public let room: String?

topic

public let topic: String?

Methods

init(room:topic:)

public init(room: String? = nil, topic: String? = nil)