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
83
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
420
Other Decks in Technology
See All in Technology
ChatGPTとPlantUML/Mermaidによるソフトウェア設計
gowhich501
1
130
職種の壁を溶かして開発サイクルを高速に回す~情報透明性と職種越境から考えるAIフレンドリーな職種間連携~
daitasu
0
140
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
1
390
「全員プロダクトマネージャー」を実現する、Cursorによる仕様検討の自動運転
applism118
17
7.3k
AI時代に非連続な成長を実現するエンジニアリング戦略
sansantech
PRO
3
1.2k
テストを軸にした生き残り術
kworkdev
PRO
0
190
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
180
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
360
「何となくテストする」を卒業するためにプロダクトが動く仕組みを理解しよう
kawabeaver
0
300
2025年夏 コーディングエージェントを統べる者
nwiizo
0
140
ハードウェアとソフトウェアをつなぐ全てを内製している企業の E2E テストの作り方 / How to create E2E tests for a company that builds everything connecting hardware and software in-house
bitkey
PRO
1
120
RSCの時代にReactとフレームワークの境界を探る
uhyo
10
3.3k
Featured
See All Featured
Code Review Best Practice
trishagee
70
19k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Automating Front-end Workflow
addyosmani
1370
200k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
4 Signs Your Business is Dying
shpigford
184
22k
The Language of Interfaces
destraynor
161
25k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
GitHub's CSS Performance
jonrohan
1032
460k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Site-Speed That Sticks
csswizardry
10
810
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:)