Loïc Hoguin ab0699ab29 Make examples use the new routing 12 years ago
..
chunked_hello_world ab0699ab29 Make examples use the new routing 12 years ago
compress_response ab0699ab29 Make examples use the new routing 12 years ago
cookie ab0699ab29 Make examples use the new routing 12 years ago
echo_get ab0699ab29 Make examples use the new routing 12 years ago
echo_post ab0699ab29 Make examples use the new routing 12 years ago
hello_world ab0699ab29 Make examples use the new routing 12 years ago
rest_hello_world ab0699ab29 Make examples use the new routing 12 years ago
static ab0699ab29 Make examples use the new routing 12 years ago
README.md 01f57ad65d Add optional automatic response body compression 12 years ago

README.md

Cowboy Examples

  • chunked_hello_world: demonstrates chunked data transfer with two one-second delays

  • compress_response send a response body compressed if the client supports it

  • cookie: set cookies from server and client side

  • echo_get: parse and echo a GET query string

  • echo_post: parse and echo a POST parameter

  • hello_world: simplest example application

  • rest_hello_world: return the data type that matches the request type (ex: html, text, json)

  • static: an example file server