Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Notification 2
kaiye
March 25, 2011
Technology
0
45
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
250
前端七年之路
kaiye
8
370
拍拍首页2012版前端技术应用
kaiye
2
140
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
81
GDD 2011 in Guangzhou
kaiye
0
1.8k
拍首2011前端技术分享
kaiye
1
130
Notification 3
kaiye
0
71
前端开发眼中的组件库
kaiye
3
260
Other Decks in Technology
See All in Technology
tfcon-2022-cpp
cpp
5
4.8k
OSINT/GEOINT ワークショップ 20220514 古橋資料
furuhashilab
2
270
技術広報の役割を定義してみた 2022年春
afroscript
3
2.4k
成長を続ける組織でのSRE戦略:プレモーテムによる信頼性の認識共有 SRE Next 2022
niwatakeru
7
2.3k
開発者のための GitHub Organization の安全な運用と 継続的なモニタリング
flatt_security
2
3.3k
How We Foster Reliability in Diversity
nari_ex
PRO
8
2.3k
Building smarter apps with machine learning, from magic to reality
picardparis
4
3.1k
Kubernetesの上に作る、統一されたマイクロサービス運用体験
tkuchiki
1
740
New Features in C# 10/11
chack411
0
750
Learning from AWS Customer Security Incidents [2022]
ramimac
0
490
ドキュメントの翻訳に必要なこと
mayukosawai
0
130
Research Paper Introduction #98 "NSDI 2022 recap"
cafenero_777
0
200
Featured
See All Featured
From Idea to $5000 a Month in 5 Months
shpigford
372
44k
4 Signs Your Business is Dying
shpigford
169
20k
Building Flexible Design Systems
yeseniaperezcruz
310
33k
JazzCon 2018 Closing Keynote - Leadership for the Reluctant Leader
reverentgeek
172
8.3k
WebSockets: Embracing the real-time Web
robhawkes
57
5k
We Have a Design System, Now What?
morganepeng
35
2.9k
Done Done
chrislema
174
14k
Code Review Best Practice
trishagee
41
6.7k
The World Runs on Bad Software
bkeepers
PRO
56
5.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
103
16k
Creatively Recalculating Your Daily Design Routine
revolveconf
205
10k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_i
21
14k
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:)