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

54 lines
1.4 KiB
Markdown
Raw Normal View History

Cowboy Examples
===============
* [basic_auth](./basic_auth):
basic HTTP authorization with REST
* [chunked_hello_world](./chunked_hello_world):
demonstrates chunked data transfer with two one-second delays
* [compress_response](./compress_response)
send a response body compressed if the client supports it
* [cookie](./cookie):
2012-12-20 14:40:22 +01:00
set cookies from server and client side
2012-09-27 21:32:11 -07:00
* [echo_get](./echo_get):
parse and echo a GET query string
2012-09-27 21:32:11 -07:00
* [echo_post](./echo_post):
parse and echo a POST parameter
* [elixir_hello_world](./elixir_hello_world):
2013-01-29 10:18:52 -08:00
simplest example application with Elixir
* [eventsource](./eventsource):
eventsource emitter and consumer
* [hello_world](./hello_world):
simplest example application
2013-02-09 04:04:49 -06:00
* [markdown_middleware](./markdown_middleware):
static file handler with markdown preprocessor
* [rest_hello_world](./rest_hello_world):
return the data type that matches the request type (ex: html, text, json)
* [rest_pastebin](./rest_pastebin):
create text objects and return the data type that matches the request type (html, text)
* [rest_stream_response](./rest_stream_response):
stream results from a data store
2013-02-27 23:55:05 -06:00
* [ssl_hello_world](./ssl_hello_world):
simplest SSL application
* [static_world](./static_world):
static file handler
2013-01-23 15:05:35 +01:00
* [web_sever](./web_server):
serves files with lists directory entries
* [websocket](./websocket):
websocket example