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
69
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
300
前端七年之路
kaiye
8
390
拍拍首页2012版前端技术应用
kaiye
2
270
后IE6时代
kaiye
1
1.4k
CSS3/JS/Flash版动画角标的实现与比较
kaiye
0
130
GDD 2011 in Guangzhou
kaiye
0
1.8k
拍首2011前端技术分享
kaiye
1
170
Notification 3
kaiye
0
85
前端开发眼中的组件库
kaiye
3
340
Other Decks in Technology
See All in Technology
CRTO/CRTL/OSEPの比較・勉強法とAV/EDRの検知実験
chayakonanaika
1
860
Namespace, Now and Then
tagomoris
0
170
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
0
3.2k
MySQLユーザ会なにやってるの?とおさそいと / たいへんなのw
sakaik
1
100
すぐに始めるAWSコスト削減。短期でできる改善策と長期的な運用負荷軽減への取り組み方を解説
ncdc
1
490
実践的なバグバウンティ入門
scgajge12
4
2.2k
Azure Cosmos DB での時系列ログの運用と改善
sansantech
PRO
0
200
SORACOMで実現するIoTのマルチクラウド対応 - IoTでのクリーンアーキテクチャの実現 -
kenichirokimura
0
220
React Aria で実現する次世代のアクセシビリティ
ryo_manba
4
800
Staff Engineer / 20240827 Yuichiro Masui
shift_evolve
0
160
EitherT_with_Future
aoiroaoino
1
850
Discover Your Tailored Platform Strategy with Real-World Practice
hhiroshell
1
140
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
354
29k
Mobile First: as difficult as doing things right
swwweet
220
8.8k
Web Components: a chance to create the future
zenorocha
308
41k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
5 minutes of I Can Smell Your CMS
philhawksworth
201
19k
Statistics for Hackers
jakevdp
793
220k
The Mythical Team-Month
searls
218
43k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
The Brand Is Dead. Long Live the Brand.
mthomps
53
37k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.4k
How to name files
jennybc
75
98k
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:)