Sha256: e9477115b5e403e7c0dceffa32e08790d643eb4be1d4ff72227b0606c4f856ea

Contents?: true

Size: 1.33 KB

Versions: 24

Compression:

Stored size: 1.33 KB

Contents

module Deepstream
  MESSAGE_SEPARATOR = 30.chr
  MESSAGE_PART_SEPARATOR = 31.chr

  module LOG_LEVEL
    DEBUG = 0
    INFO = 1
    WARN = 2
    ERROR = 3
    OFF = 100
  end

  module CONNECTION_STATE
    CLOSED = :closed
    AWAITING_CONNECTION = :awaiting_connection
    CHALLENGING = :challenging
    AWAITING_AUTHENTICATION = :awaiting_authentication
    AUTHENTICATING = :authenticating
    OPEN = :open
    ERROR = :error
    RECONNECTING = :reconnecting
  end

  module TOPIC
    CONNECTION = :C
    AUTH = :A
    ERROR = :X
    EVENT = :E
    RECORD = :R
    RPC = :P
  end

  module ACTION
    ACK = :A
    READ = :R
    REDIRECT = :RED
    CHALLENGE = :CH
    CHALLENGE_RESPONSE = :CHR
    CREATE = :C
    UPDATE = :U
    PATCH = :P
    DELETE = :D
    SUBSCRIBE = :S
    UNSUBSCRIBE = :US
    HAS = :H
    SNAPSHOT = :SN
    LISTEN = :L
    UNLISTEN = :UL
    LISTEN_ACCEPT = :LA
    LISTEN_REJET = :LR
    SUBSCRIPTION_HAS_PROVIDER = :SH
    SUBSCRIPTION_FOR_PATTERN_FOUND = :SP
    SUBSCRIPTION_FOR_PATTERN_REMOVED = :SR
    PROVIDER_UPDATE = :PU
    QUERY = :Q
    CREATEORREAD = :CR
    EVENT = :EVT
    ERROR = :E
    REQUEST = :REQ
    RESPONSE = :RES
    REJECTION = :REJ
    PING = :PI
    PONG = :PO
  end

  module TYPE
    STRING = :S
    OBJECT = :O
    NUMBER = :N
    NULL = :L
    TRUE = :T
    FALSE = :F
    UNDEFINED = :U
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
deepstream-1.0.10 lib/deepstream/constants.rb
deepstream-1.0.9 lib/deepstream/constants.rb
deepstream-1.0.8 lib/deepstream/constants.rb
deepstream-1.0.7 lib/deepstream/constants.rb
deepstream-1.0.6 lib/deepstream/constants.rb
deepstream-1.0.5 lib/deepstream/constants.rb
deepstream-1.0.4 lib/deepstream/constants.rb
deepstream-1.0.3 lib/deepstream/constants.rb
deepstream-1.0.2 lib/deepstream/constants.rb
deepstream-1.0.1 lib/deepstream/constants.rb
deepstream-1.0.0 lib/deepstream/constants.rb
deepstream-0.3.2 lib/deepstream/constants.rb
deepstream-0.3.1 lib/deepstream/constants.rb
deepstream-0.3.0 lib/deepstream/constants.rb
deepstream-0.2.9 lib/deepstream/constants.rb
deepstream-0.2.8 lib/deepstream/constants.rb
deepstream-0.2.7 lib/deepstream/constants.rb
deepstream-0.2.6 lib/deepstream/constants.rb
deepstream-0.2.5 lib/deepstream/constants.rb
deepstream-0.2.4 lib/deepstream/constants.rb