Module: WAMP
- Defined in:
- lib/wamp.rb,
lib/wamp/topic.rb,
lib/wamp/client.rb,
lib/wamp/server.rb,
lib/wamp/socket.rb,
lib/wamp/bindable.rb,
lib/wamp/engines/redis.rb,
lib/wamp/engines/memory.rb
Defined Under Namespace
Modules: Bindable, Engines, MessageType, Protocols
Classes: Client, Server, Socket, Topic
Constant Summary
collapse
- MAJOR =
0
- MINOR =
0
- PATCH =
1
- ROOT =
File.expand_path(File.dirname(__FILE__))
Class Method Summary
collapse
Class Method Details
.identity ⇒ Object
29
30
31
|
# File 'lib/wamp.rb', line 29
def identity
"WAMP Ruby/#{self.version}"
end
|
.protocol_version ⇒ Object
33
34
35
|
# File 'lib/wamp.rb', line 33
def protocol_version
1
end
|
.version ⇒ Object
25
26
27
|
# File 'lib/wamp.rb', line 25
def version
"#{MAJOR}.#{MINOR}.#{PATCH}"
end
|