Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: src/site/samples/websockets/index.markdown

Issue 35563005: Added landing pages for new samples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Added samples to be released to yaml file Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 ---
Kathy Walrath 2013/10/23 15:41:05 In the sample index, it says websockets instead of
shailentuli 2013/10/23 17:36:57 Done.
2 layout: default
3 title: A basic websockets example
Kathy Walrath 2013/10/23 15:41:05 Use Title Caps websockets -> WebSockets
shailentuli 2013/10/23 17:36:57 Done.
4 live_example_url: example/index.html
5
6 header:
7 css: ["/samples/samples.css"]
8 ---
9
10 ## {{ page.title }}
11
12 A simple example of using WebSockets for communication.
13
14 You can learn about the basics of WebSockets by reading the
15 [Introducing WebSockets: Bringing Sockets to the Web](http://www.html5rocks.com/ en/tutorials/file/filesystem/)
16 article on HTML5Rocks.
17
18 WebSocket is a protocol providing full-duplex communications channels over a
19 single TCP connection.
20
21 This example opens a WebSocket connection to an echo server
22 (`ws://echo/websocket.org`), sends data to the server, and then displays the
23 response on the web page.
24
25 You can open the example in Dart Editor and run it by clicking `index.html`.
26
27 Read the
28 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/websock ets/basics).
29
30 <iframe class="running-app-frame"
31 style="height:500px;width:100%;"
32 src="{{page.live_example_url}}">
33 </iframe>
34
35 See all [samples](/samples/).
OLDNEW
« src/site/samples/webaudio/index.markdown ('K') | « src/site/samples/webaudio/index.markdown ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698