0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/examples/README.md

21 lines
548 B
Markdown
Raw Normal View History

Cowboy examples
===============
2012-10-01 16:04:27 -07:00
* [hello_world](./examples/hello_world):
2012-09-27 21:32:11 -07:00
simplest example application
2012-10-01 16:04:27 -07:00
* [echo_get](./examples/echo_get):
2012-09-27 21:32:11 -07:00
parse and echo a GET query string
2012-10-01 16:04:27 -07:00
* [echo_post](./examples/echo_post):
2012-09-27 21:32:11 -07:00
parse and echo a POST parameter
2012-10-01 16:04:27 -07:00
* [rest_hello_world](./examples/rest_hello_world):
return the data type that matches the request type (ex: html, text, json...)
2012-10-01 16:04:27 -07:00
* [chunked_hello_world](./examples/chunked_hello_world):
2012-09-27 21:32:11 -07:00
demonstrates chunked data transfer with two one-second delays
2012-10-01 16:04:27 -07:00
* [static](./examples/static):
2012-09-27 21:32:11 -07:00
an example file server