book.asciidoc 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. = Additional information
  40. include::migrating_from_2.3.asciidoc[Migrating from Cowboy 2.3 to 2.4]
  41. include::migrating_from_2.2.asciidoc[Migrating from Cowboy 2.2 to 2.3]
  42. include::migrating_from_2.1.asciidoc[Migrating from Cowboy 2.1 to 2.2]
  43. include::migrating_from_2.0.asciidoc[Migrating from Cowboy 2.0 to 2.1]
  44. include::migrating_from_1.0.asciidoc[Migrating from Cowboy 1.0 to 2.0]
  45. include::specs.asciidoc[HTTP and other specifications]