aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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
2016-06-22Update OTP versions testedLoïc Hoguin
2016-06-22Remove cowboy_req:get and setLoïc Hoguin
2016-06-22Remove cowboy_req:append_buffer/2Loïc Hoguin
2016-06-22Remove unused local function in cowboy_reqLoïc Hoguin
2016-06-22Remove cowboy_req:set_bindings/4Loïc Hoguin
2016-06-22Remove cowboy_req:lock/1Loïc Hoguin
2016-06-22Remove cowboy_req:to_list/1Loïc Hoguin
2016-06-22Add tests for cowboy_req: match_cookies and match_qsLoïc Hoguin
2016-06-21Remove the meta functions from cowboy_reqLoïc Hoguin
Now that we have a public map they are pretty much pointless.
2016-06-21Add cowboy_req:uri/1,2Loïc Hoguin
Along with more cowboy_req tests. This commit also removes cowboy_req:url/1 and cowboy_req:host_url/1 in favor of the much more powerful new set of functions.
2016-06-21Remove cowboy_req:new/14Loïc Hoguin
This internal function is no longer necessary.
2016-06-20Add initial req suiteLoïc Hoguin