GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - educoder/wakeful-example: A simple wakeful usage example

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app.js
app.js
 
 
index.html
index.html
 
 
skeletor.js
skeletor.js
 
 

Repository files navigation

wakeful-example

A simple wakeful usage example

Purpose

This simple Wakeful example shows how a Browser client can connect to a Faye/WakefulWeasel server, subscribe to a channel, and send and receive messages over the channel

Dependencies

  • a working WakefulWeasel server with persistance turned off
  • jQuery (loaded in HTML from CDN)
  • Faye client.js (loaded in HTML from Faye server)

Caveats

In order to make this example work right out of the box the URL to the WakefulWeasel test server (with persistance turned off) is set to http://coati.encorelab.org:7890/faye

In a later version the Faye client.js might be pulled in via Bower and the WakefulWeasel URL will be configurable but this requires more tools like bower and http-server (via npm) to run the code.

All messages go via channel foo since the channel is hard coded. This might change in future examples.

Run example

Open the index.html file in two modern browsers like Chrome or Firefox and send message.

About

A simple wakeful usage example

Resources

Readme
GPL-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.