Sha256: 25ab63c5bc72adaa07d10fc15deabb4bfc5979336ebc0555248d72b5de72bb4e

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

t=text( "touch me to set the websocket adress to localhost ('0.0.0.0:9292')")
t2=text({y: 30, content: "touch me to reset the websocket adress to atome.one" })

t.touch do
  # ATOME.websocket
  #second parameter is ssl (true or false)
  #or  ATOME.websocket('0.0.0.0:9292', false)

  ATOME.websocket("localhost:9292", false)

end

t2.touch do
  ATOME.websocket("ws.atome.one", true)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atome-0.4.7.0 vendor/assets/build/medias/rubies/examples/Old_examples/websocket.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/websocket.rb