Debian Codegraph @

examples/README.asciidoc

raw
1 = Cowboy examples
2
3 * link:chunked_hello_world[]:
4 demonstrate chunked data transfer with two one-second delays
5
6 * link:compress_response[]:
7 send a response body compressed if the client supports it
8
9 * link:cookie[]:
10 set cookies from server and client side
11
12 * link:echo_get[]:
13 parse and echo a GET query string
14
15 * link:echo_post[]:
16 parse and echo a POST parameter
17
18 * link:eventsource[]:
19 eventsource emitter and consumer
20
21 * link:file_server[]:
22 file server with directory listing
23
24 * link:hello_world[]:
25 simplest example application
26
27 * link:markdown_middleware[]:
28 static file handler with markdown preprocessor
29
30 * link:rest_basic_auth[]:
31 basic HTTP authorization with REST
32
33 * link:rest_hello_world[]:
34 return the data type that matches the request type (ex: html, text, json)
35
36 * link:rest_pastebin[]:
37 create text objects and return the data type that matches the request type (html, text)
38
39 * link:ssl_hello_world[]:
40 simplest SSL application
41
42 * link:upload[]:
43 multipart/form-data upload
44
45 * link:websocket[]:
46 websocket example
47
48 == Other languages
49
50 * https://github.com/joshrotenberg/elixir_cowboy_examples[Elixir]
51 * https://github.com/quasiquoting/lfe-cowboy-examples[LFE]