Class: SockJS::Protocol::OpeningFrame

Inherits:
Frame
  • Object
show all
Defined in:
lib/sockjs/protocol.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Frame

#escape, #validate

Constructor Details

#initializeOpeningFrame

Returns a new instance of OpeningFrame.



59
60
# File 'lib/sockjs/protocol.rb', line 59

def initialize
end

Class Method Details

.instanceObject



62
63
64
# File 'lib/sockjs/protocol.rb', line 62

def self.instance
  @instance ||= self.new
end

Instance Method Details

#to_sObject



66
67
68
# File 'lib/sockjs/protocol.rb', line 66

def to_s
  "o"
end