Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Notification 2

kaiye
March 25, 2011

Notification 2

Http 1.1 protocol and HTML5 Web Socket API

kaiye

March 25, 2011
Tweet

More Decks by kaiye

Other Decks in Technology

Transcript

  1. [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; };
  2. WS

  3. 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/