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
kaiye
March 25, 2011
Technology
0
84
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
320
前端七年之路
kaiye
8
410
拍拍首页2012版前端技术应用
kaiye
2
290
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
150
GDD 2011 in Guangzhou
kaiye
0
1.8k
拍首2011前端技术分享
kaiye
1
190
Notification 3
kaiye
0
97
前端开发眼中的组件库
kaiye
3
430
Other Decks in Technology
See All in Technology
大規模サーバーレスAPIの堅牢性・信頼性設計 〜AWSのベストプラクティスから始まる現実的制約との向き合い方〜
maimyyym
6
3.9k
Vibe Coding Year in Review. From Karpathy to Real-World Agents by Niels Rolland, CEO Paatch
vcoisne
0
120
The Cake Is a Lie... And So Is Your Login’s Accessibility
leichteckig
0
110
実装で解き明かす並行処理の歴史
zozotech
PRO
1
670
英語は話せません!それでも海外チームと信頼関係を作るため、対話を重ねた2ヶ月間のまなび
niioka_97
0
130
小学4年生夏休みの自由研究「ぼくと Copilot エージェント」
taichinakamura
0
590
プロポーザルのコツ ~ Kaigi on Rails 2025 初参加で3名の登壇を実現 ~
naro143
1
200
職種別ミートアップで社内から盛り上げる アウトプット文化の醸成と関係強化/ #DevRelKaigi
nishiuma
2
160
能登半島地震で見えた災害対応の課題と組織変革の重要性
ditccsugii
0
250
やる気のない自分との向き合い方/How to Deal with Your Unmotivated Self
sanogemaru
0
450
『バイトル』CTOが語る! AIネイティブ世代と切り拓くモノづくり組織
dip_tech
PRO
1
110
20251007: What happens when multi-agent systems become larger? (CyberAgent, Inc)
ornew
1
100
Featured
See All Featured
Balancing Empowerment & Direction
lara
4
680
The Pragmatic Product Professional
lauravandoore
36
6.9k
Building Adaptive Systems
keathley
43
2.8k
Embracing the Ebb and Flow
colly
88
4.8k
BBQ
matthewcrist
89
9.8k
A Modern Web Designer's Workflow
chriscoyier
697
190k
How to Ace a Technical Interview
jacobian
280
24k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
How to Think Like a Performance Engineer
csswizardry
27
2k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
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:)