Loïc Hoguin
c528d9b0f7
Add the man pages for body reading functions
...
[ci skip]
2016-12-02 16:50:55 +01:00
Loïc Hoguin
7b248e5163
Add man pages for the parse/match/binding cowboy_req functions
2016-11-07 18:03:47 +02:00
Loïc Hoguin
bd34dfdedd
Small tweak to Asciidoc
...
Fixes Hugo rendering.
2016-11-07 01:44:15 +02:00
Loïc Hoguin
b2e981ca40
Add man pages for parse_qs, match_qs and parse_header
...
[ci skip]
2016-11-07 01:12:30 +02:00
Loïc Hoguin
0df88c0d0a
Tweak small things in the cowboy manual
2016-11-05 14:22:18 +02:00
Loïc Hoguin
a24d48fec6
Add HiPE and ErLLVM testing
2016-11-05 14:20:19 +02:00
Loïc Hoguin
faca7866ed
Partially update manual for the cowboy_req
...
Only the access functions have been modified so far.
2016-11-05 14:17:30 +02:00
Loïc Hoguin
8fe700f341
Erlang/OTP 19.1.5
2016-10-18 11:19:56 +02:00
Christopher Adams
59c32506c0
Fix if_modified_since match of last_modified
...
Correct expected return type from `no_call` to `undefined` in
if_modified_since when last_modified callback is not defined. Add an
http_SUITE test to catch regressions.
2016-10-18 10:43:47 +02:00
Loïc Hoguin
932f1301c5
Erlang/OTP 19.1.4
2016-10-14 16:46:06 +02:00
Loïc Hoguin
a197b35f89
Update CI targets
2016-10-10 23:31:04 +02:00
Loïc Hoguin
144c5c0cc7
Small tweaks to cowboy module manual
2016-10-01 13:33:48 +02:00
Loïc Hoguin
25c124f494
Remove circle.yml
2016-10-01 13:19:44 +02:00
Loïc Hoguin
e296f13d24
Update README and convert to Asciidoc
2016-09-30 18:19:55 +02:00
Loïc Hoguin
5477d613f9
Tweak the one-liner description of the project
2016-09-29 22:46:26 +02:00
Loïc Hoguin
e80291fbdc
Tweak the cowboy(7) manual
2016-09-25 23:27:34 +02:00
Loïc Hoguin
fa58155f72
Update the cowboy(7) manual
...
It now links to all modules found in the manual and can therefore
easily act as an index for the application.
2016-09-25 23:14:19 +02:00
Loïc Hoguin
cef6e5b472
Fix whitespace in example
2016-09-25 18:46:47 +02:00
Loïc Hoguin
0424724062
Update manual for the cowboy module
...
This commit separates the documentation of the functions into
separate manual pages, with at least one example per function
and a lot more details about parameters, return values and
related functions and modules. It also includes a changelog
indicating when the function was added or changed.
The inspiration for this comes mainly from the PHP documentation
and feedback from users.
2016-09-25 17:32:41 +02:00
Loïc Hoguin
31cabe0fb9
Use spaces in snippets in the guide
2016-09-14 18:51:11 +02:00
Loïc Hoguin
a231216b07
Update the Websocket handlers chapter
2016-09-14 18:39:17 +02:00
Loïc Hoguin
06e1e2be68
Update the routing chapter
2016-09-04 19:47:09 +02:00
Loïc Hoguin
8777f631ca
Rework the constraints chapter
2016-09-04 19:09:51 +02:00
Loïc Hoguin
2a6359ecc1
Minor updates to static files chapter
2016-09-02 14:55:40 +02:00
Loïc Hoguin
2474ce9d73
Update the multipart chapter
2016-09-02 12:59:45 +02:00
Loïc Hoguin
67c5b057f9
Update the Websocket protocol chapter
2016-09-01 17:42:41 +02:00
Loïc Hoguin
5495b57174
Update the cookies guide chapter
2016-09-01 17:22:53 +02:00
Loïc Hoguin
88dbc30391
Merge branch 'master' of https://github.com/alexprut/cowboy
2016-08-31 17:02:23 +02:00
Loïc Hoguin
aa617f2330
Update the guide chapter for responses
2016-08-31 17:01:25 +02:00
Alex Prut
b58093a3c7
Update websocket documentation: based on https://github.com/ninenines/cowboy/blob/master/examples/websocket/src/ws_handler.erl
2016-08-31 12:42:50 +02:00
Loïc Hoguin
bae10829ba
Add the missing listeners guide chapter
...
While incomplete it's still a pretty good start.
2016-08-30 14:27:55 +02:00
Loïc Hoguin
8fc1371df8
Minor documentation fixes
...
"make docs" should now work again.
2016-08-30 14:18:14 +02:00
Loïc Hoguin
4c6f2c9a95
Fix a couple xref links
...
They were still using the old ezdoc syntax.
2016-08-30 13:23:31 +02:00
Loïc Hoguin
843866c654
Add placeholder flow diagram chapter
2016-08-30 13:07:35 +02:00
Loïc Hoguin
9b8a05bbc1
Fix rendering issues in the guide and manual
2016-08-30 13:03:26 +02:00
Loïc Hoguin
bee1320700
Update the body reading chapter
2016-08-25 17:40:37 +02:00
Loïc Hoguin
7839f13671
More 2.0 documentation updates
...
Still incomplete.
2016-08-24 17:25:33 +02:00
Witeman Zheng
b9ad02d305
Fix websocket example
2016-08-22 09:44:42 +02:00
Loïc Hoguin
c750dd76b4
Send many frames in one TCP send
...
Includes refactoring of the related code to avoid repetition.
2016-08-15 20:04:37 +02:00
Loïc Hoguin
1d01d0fc06
Allow websocket_init/1 to reply/close/hibernate
2016-08-15 19:21:38 +02:00
Loïc Hoguin
af88442610
Modernize the Websocket test suite
2016-08-15 18:06:16 +02:00
Loïc Hoguin
d1b65a67cf
Remove Req from the Websocket interface
...
After the switch to Websocket, we are no longer in a request/response
scenario, therefore a lot of the cowboy_req functions do not apply
anymore.
Any data required from the request will need to be taken from Req
in init/2 and saved in the handler's state.
2016-08-12 19:27:23 +02:00
Loïc Hoguin
b63b6ef865
Add missing specs to an internal cowboy_req function
2016-08-12 18:06:45 +02:00
Loïc Hoguin
e44ac98c83
Merge branch 'master' of https://github.com/camshaft/cowboy
2016-08-12 17:26:28 +02:00
Loïc Hoguin
97986df276
Fix Websocket compression
...
The option for enabling Websocket compression has been
renamed. Previously it was shared with HTTP compression,
now it's specific to Websocket. The new option is named
'websocket_compress'.
2016-08-12 16:56:08 +02:00
Loïc Hoguin
5cb2b544b7
Use cow_http_hd:parse_host directly
...
Removes some duplicate code from cowboy_http.
2016-08-11 16:45:52 +02:00
Loïc Hoguin
b75b0a6d4d
Use integer_to_binary when possible
2016-08-11 11:53:05 +02:00
Loïc Hoguin
699164fbdd
Add a test for echo_get example undefined
2016-08-11 11:48:09 +02:00
Loïc Hoguin
8fb4648b13
Merge branch 'master' of https://github.com/sergey-ivlev/cowboy
2016-08-11 11:38:58 +02:00
Loïc Hoguin
badc8d596e
Fix cookie example again
2016-08-11 11:25:58 +02:00