Module: Angelo::Stash::ClassMethods

Included in:
SSE, Websocket
Defined in:
lib/angelo/stash.rb

Instance Method Summary collapse

Instance Method Details

#peeraddrsObject

hold the peeraddr info for use after the socket is closed (logging)



18
19
20
# File 'lib/angelo/stash.rb', line 18

def peeraddrs
  @peeraddrs ||= {}
end

#stashesObject

the underlying arrays of websockets, by context



12
13
14
# File 'lib/angelo/stash.rb', line 12

def stashes
  @stashes ||= {}
end