Loïc Hoguin 82de4254dd Make cowboy_req:has_body/1 return boolean() 12 лет назад
..
chunked_hello_world 33461ecdbd Fix examples to follow new env tuple standard 12 лет назад
compress_response 01f57ad65d Add optional automatic response body compression 12 лет назад
cookie 33461ecdbd Fix examples to follow new env tuple standard 12 лет назад
echo_get 33461ecdbd Fix examples to follow new env tuple standard 12 лет назад
echo_post 82de4254dd Make cowboy_req:has_body/1 return boolean() 12 лет назад
hello_world 33461ecdbd Fix examples to follow new env tuple standard 12 лет назад
rest_hello_world 33461ecdbd Fix examples to follow new env tuple standard 12 лет назад
static 33461ecdbd Fix examples to follow new env tuple standard 12 лет назад
README.md 01f57ad65d Add optional automatic response body compression 12 лет назад

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