MessageTarget

public enum MessageTarget: String

This emumeration defines the target option for the emit methods, use this definitions in addition to the client id or a collection of client ids

  • All

    Target all the clients including the host and the sender

    Declaration

    Swift

    case All = "all"
  • Target only the host

    Declaration

    Swift

    case Host = "host"
  • Target all the clients including the host and the sender

    Declaration

    Swift

    case Broadcast = "broadcast"