Loïc Hoguin 01f57ad65d Add optional automatic response body compression 12 years ago
..
chunked_hello_world 33461ecdbd Fix examples to follow new env tuple standard 12 years ago
compress_response 01f57ad65d Add optional automatic response body compression 12 years ago
cookie 33461ecdbd Fix examples to follow new env tuple standard 12 years ago
echo_get 33461ecdbd Fix examples to follow new env tuple standard 12 years ago
echo_post 33461ecdbd Fix examples to follow new env tuple standard 12 years ago
hello_world 33461ecdbd Fix examples to follow new env tuple standard 12 years ago
rest_hello_world 33461ecdbd Fix examples to follow new env tuple standard 12 years ago
static 33461ecdbd Fix examples to follow new env tuple standard 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