book.asciidoc 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // a2x: --dblatex-opts "-P latex.output.revhistory=0 -P doc.publisher.show=0 -P index.numbered=0"
  2. // a2x: --dblatex-opts "-s cowboy"
  3. // a2x: -d book --attribute tabsize=4
  4. = Cowboy User Guide
  5. // REST: where should i handle bindings? init, probably. qs? in media type functions
  6. // REST: explain how a module per media type is good; module may be shared between client/server
  7. = Rationale
  8. include::modern_web.asciidoc[The modern Web]
  9. include::erlang_web.asciidoc[Erlang and the Web]
  10. = Introduction
  11. include::introduction.asciidoc[Introduction]
  12. include::getting_started.asciidoc[Getting started]
  13. include::flow_diagram.asciidoc[Flow diagram]
  14. = Configuration
  15. include::listeners.asciidoc[Listeners]
  16. include::routing.asciidoc[Routing]
  17. include::constraints.asciidoc[Constraints]
  18. = Handlers
  19. include::handlers.asciidoc[Handlers]
  20. include::loop_handlers.asciidoc[Loop handlers]
  21. include::static_files.asciidoc[Static files]
  22. = Request and response
  23. include::req.asciidoc[Request details]
  24. include::req_body.asciidoc[Reading the request body]
  25. include::resp.asciidoc[Sending a response]
  26. include::cookies.asciidoc[Using cookies]
  27. include::multipart.asciidoc[Multipart]
  28. = REST
  29. include::rest_principles.asciidoc[REST principles]
  30. include::rest_handlers.asciidoc[Handling REST requests]
  31. include::rest_flowcharts.asciidoc[REST flowcharts]
  32. include::resource_design.asciidoc[Designing a resource handler]
  33. = Websocket
  34. include::ws_protocol.asciidoc[The Websocket protocol]
  35. include::ws_handlers.asciidoc[Websocket handlers]
  36. = Advanced
  37. include::streams.asciidoc[Streams]
  38. include::middlewares.asciidoc[Middlewares]
  39. include::performance.asciidoc[Performance]
  40. = Additional information
  41. include::migrating_from_2.9.asciidoc[Migrating from Cowboy 2.9 to 2.10]
  42. include::migrating_from_2.8.asciidoc[Migrating from Cowboy 2.8 to 2.9]
  43. include::migrating_from_2.7.asciidoc[Migrating from Cowboy 2.7 to 2.8]
  44. include::migrating_from_2.6.asciidoc[Migrating from Cowboy 2.6 to 2.7]
  45. include::migrating_from_2.5.asciidoc[Migrating from Cowboy 2.5 to 2.6]
  46. include::migrating_from_2.4.asciidoc[Migrating from Cowboy 2.4 to 2.5]
  47. include::migrating_from_2.3.asciidoc[Migrating from Cowboy 2.3 to 2.4]
  48. include::migrating_from_2.2.asciidoc[Migrating from Cowboy 2.2 to 2.3]
  49. include::migrating_from_2.1.asciidoc[Migrating from Cowboy 2.1 to 2.2]
  50. include::migrating_from_2.0.asciidoc[Migrating from Cowboy 2.0 to 2.1]
  51. include::migrating_from_1.0.asciidoc[Migrating from Cowboy 1.0 to 2.0]
  52. include::specs.asciidoc[HTTP and other specifications]