aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-09-29Tweak the one-liner description of the projectLoïc Hoguin
2016-09-25Tweak the cowboy(7) manualLoïc Hoguin
2016-09-25Update the cowboy(7) manualLoïc Hoguin
It now links to all modules found in the manual and can therefore easily act as an index for the application.
2016-09-25Fix whitespace in exampleLoïc Hoguin
2016-09-25Update manual for the cowboy moduleLoïc Hoguin
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-14Use spaces in snippets in the guideLoïc Hoguin
2016-09-14Update the Websocket handlers chapterLoïc Hoguin
2016-09-04Update the routing chapterLoïc Hoguin
2016-09-04Rework the constraints chapterLoïc Hoguin
2016-09-02Minor updates to static files chapterLoïc Hoguin
2016-09-02Update the multipart chapterLoïc Hoguin
2016-09-01Update the Websocket protocol chapterLoïc Hoguin
2016-09-01Update the cookies guide chapterLoïc Hoguin
2016-08-31Merge branch 'master' of https://github.com/alexprut/cowboyLoïc Hoguin
2016-08-31Update the guide chapter for responsesLoïc Hoguin
2016-08-31Update websocket documentation: based on ↵Alex Prut
https://github.com/ninenines/cowboy/blob/master/examples/websocket/src/ws_handler.erl
2016-08-30Add the missing listeners guide chapterLoïc Hoguin
While incomplete it's still a pretty good start.
2016-08-30Minor documentation fixesLoïc Hoguin
"make docs" should now work again.
2016-08-30Fix a couple xref linksLoïc Hoguin
They were still using the old ezdoc syntax.
2016-08-30Add placeholder flow diagram chapterLoïc Hoguin
2016-08-30Fix rendering issues in the guide and manualLoïc Hoguin
2016-08-25Update the body reading chapterLoïc Hoguin
2016-08-24More 2.0 documentation updatesLoïc Hoguin
Still incomplete.
2016-08-22Fix websocket exampleWiteman Zheng
2016-08-15Send many frames in one TCP sendLoïc Hoguin
Includes refactoring of the related code to avoid repetition.
2016-08-15Allow websocket_init/1 to reply/close/hibernateLoïc Hoguin
2016-08-15Modernize the Websocket test suiteLoïc Hoguin
2016-08-12Remove Req from the Websocket interfaceLoïc Hoguin
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-12Add missing specs to an internal cowboy_req functionLoïc Hoguin
2016-08-12Merge branch 'master' of https://github.com/camshaft/cowboyLoïc Hoguin
2016-08-12Fix Websocket compressionLoïc Hoguin
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-11Use cow_http_hd:parse_host directlyLoïc Hoguin
Removes some duplicate code from cowboy_http.
2016-08-11Use integer_to_binary when possibleLoïc Hoguin
2016-08-11Add a test for echo_get example undefinedLoïc Hoguin
2016-08-11Merge branch 'master' of https://github.com/sergey-ivlev/cowboyLoïc Hoguin
2016-08-11Fix cookie example againLoïc Hoguin
2016-08-11Fix timer-sent events in the websocket exampleLoïc Hoguin
2016-08-10Add specs for the cowboy_req:push/3,4 functionsLoïc Hoguin
2016-08-10Use binary_to_integer instead of to list and backLoïc Hoguin
2016-08-10Let the stream handler take care of crash handling and loggingLoïc Hoguin
2016-08-10Make reply functions return ReqLoïc Hoguin
2016-08-10Update the multipart reading interfaceLoïc Hoguin
Now named read_part/read_part_body, with a verb indicating action.
2016-08-10Update examples to the new interfaceLoïc Hoguin
2016-08-10Remove logic to always send a response in cowboy_loopLoïc Hoguin
This is taken care of at the protocol level now.
2016-08-10Add a lot of todosLoïc Hoguin
2016-08-10Add tests for responses and request body readingLoïc Hoguin
This is a large commit. The cowboy_req interface has largely changed, and will change a little more. It's possible that some examples or tests have not been converted to the new interface yet. The documentation has not yet been updated. All of this will be fixed in smaller subsequent commits. Gotta start somewhere...
2016-07-26fix echo_get examplesergey-ivlev
2016-06-27send resp_headers with websocket responsesCameron Bytheway
2016-06-22Add forgotten changes to a test handlerLoïc Hoguin
2016-06-22Move TERM= declaration to make variable sideLoïc Hoguin