Method: WAMP::Protocols::Version1#version

Defined in:
lib/wamp/protocols/version_1.rb

#versionInteger

Returns The version of the WAMP protocol defined in this class.

Returns:

  • (Integer)

    The version of the WAMP protocol defined in this class.



8
9
10
# File 'lib/wamp/protocols/version_1.rb', line 8

def version
  1
end