Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Notification 2
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
kaiye
March 25, 2011
Technology
0
86
Notification 2
Http 1.1 protocol and HTML5 Web Socket API
kaiye
March 25, 2011
Tweet
Share
More Decks by kaiye
See All by kaiye
大话前端黑客
kaiye
4
330
前端七年之路
kaiye
8
420
拍拍首页2012版前端技术应用
kaiye
2
300
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
160
GDD 2011 in Guangzhou
kaiye
0
1.8k
拍首2011前端技术分享
kaiye
1
200
Notification 3
kaiye
0
110
前端开发眼中的组件库
kaiye
3
490
Other Decks in Technology
See All in Technology
DevOpsエージェントで実現する!! AWS Well-Architected(W-A) を実現するシステム設計 / 20260307 Masaki Okuda
shift_evolve
PRO
3
210
Devinを導入したら予想外の人たちに好評だった
tomuro
0
930
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
4
990
「ヒットする」+「近い」を同時にかなえるスマートサジェストの作り方.pdf
nakasho
0
140
型を書かないRuby開発への挑戦
riseshia
0
190
越境する組織づくり ─ 多様性を前提にしたチームビルディングとリードの実践知
kido_engineer
2
120
Ultra Ethernet (UEC) v1.0 仕様概説
markunet
3
220
開発組織の課題解決を加速するための権限委譲 -する側、される側としての向き合い方-
daitasu
5
280
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Datadog の RBAC のすべて
nulabinc
PRO
2
280
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
432
66k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
280
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
200
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
460
Odyssey Design
rkendrick25
PRO
2
540
We Are The Robots
honzajavorek
0
190
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
100
Raft: Consensus for Rubyists
vanstee
141
7.3k
Test your architecture with Archunit
thirion
1
2.2k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Transcript
Notification 2 @kaiye
[Constructor] interface Notification : EventTarget { void show (); void
cancel (); attribute Function onclick; attribute Function onshow; attribute Function onerror; attribute Function onclose; attribute DOMString replaceId; attribute DOMString dir; };
HTTP: {Stateless Connection:closed
URL parameter ASP/PHP/JAVA Cookie & Session Stateless > Stateful
None
Connection:keep-alive HTTP/1.1
None
None
None
None
WS
http://t.qq.com/jiaoshoutv
None
None
HTTP/1.1 101 WebSocket Protocol HandShake
Reference • 《Hypertext Transfer Protocol》 http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#cite_note- ietf2616-0 • 《The WebSocket
API》 http://dev.w3.org/html5/websockets/ • 《Pro HTML5 Programming》 http://prohtml5.com/
See you next time:)