GitBucket
Toggle navigation
Pull requests
Issues
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
j2102
/
webSocket
webSocketをやってみるためのrepo
Download ZIP
6commits
Transfer to URL with SHA
HTTP
HTTP (recommended)
Clone with Git using the repository's web address.
SSH
Clone with an SSH key and passphrase from your GitBucket settings.
branch:
master
Branches
Tags
×
master
latest commit
10e4f9a85b
j2102
authored
on 27 Feb
img
more images
2 months ago
.gitignore
first commit
2 months ago
README.md
add README
2 months ago
home.css
テンション上がったのでにぎやかし
2 months ago
home.html
テンション上がったのでにぎやかし
2 months ago
home.js
テンション上がったのでにぎやかし
2 months ago
host.rb
テンション上がったのでにぎやかし
2 months ago
README.md
(`・ω・´)ノ
Welcome!
(・-・)
What's this?
WebSocketの練習場です。
home.html
への同時アクセス数がリアルタイムに報告されます。
メッセージ伝達時にサーバ側で現在時刻を確認しており、時刻に合わせて顔文字が変化します。
夜間: 就寝タイム
15時: おやつタイム
^^)旦
How to run
terminalで
ruby host.rb
と打ち込み サーバを起動します
home.html
を気が済むまで開きます
開いている
home.html
の数に応じてページ内のメッセージが変化します
1つ
2つ