Commit graph

26 commits

Author SHA1 Message Date
aa378b7a90 add head method to dsl 2020-09-03 22:54:48 -03:00
Sijawusz Pur Rahnama
210e2c0801 Prettify docs (#410) 2017-10-06 14:53:53 +03:00
Serdar Dogruyol
61caa077b7 Improve namings 2017-10-02 23:56:02 +03:00
Serdar Dogruyol
fe9d193418 Seperate websocket and websocket handler. Fixes #395 2017-09-10 14:41:07 +03:00
Serdar Dogruyol
731b2e0d5b Bump version to 0.21.0 2017-09-05 14:07:46 +03:00
Serdar Dogruyol
1c069ab643 Refactor 2017-09-05 11:10:04 +03:00
Serdar Dogruyol
00217d9545 Add more types to method signatures 2017-08-24 23:32:43 +03:00
Sdogruyol
2b604dfb30 Add context to WebSocket. This allows one to use context.params like url,query, body e.g 2017-08-20 20:01:49 +03:00
Tom Richards
54e501e964 path_starts_with... method naming (#310)
Fix name of path_starts_with_... utility method
2017-02-15 19:38:26 +02:00
Sdogruyol
274d34cfc6 Move filter methods to dsl 2016-12-04 01:47:09 +03:00
sdogruyol
012ac8f6b7 Yield error in custom error handlers 2016-11-16 20:27:01 +03:00
sdogruyol
87d88318de Rename to Kemal::Exceptions::InvalidPathStartException 2016-11-04 11:49:11 +03:00
sdogruyol
e6810c4516 Route declaration must start with / fixes #242 2016-11-04 11:12:59 +03:00
Sam Eaton
e43b2a3a01 Decodes url parameters (#229)
Decode url parameters
2016-10-18 16:28:42 +03:00
Sdogruyol
b5ff93c677 Add docs 2016-07-17 14:10:56 +03:00
sdogruyol
e6d9311895 Start implementing error block 2016-05-05 22:35:36 +03:00
Serdar Dogruyol
7b1bc43a41 Update dsl.cr 2016-03-23 14:45:18 +02:00
sdogruyol
be418feaf3 Fix WebSocketHandler 2016-03-23 13:21:19 +02:00
Armin Pašalić
6759fb2373 Add options to the DSL
As in https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.2 and because it's a nice way to document API
2016-02-25 17:38:57 +01:00
Sdogruyol
467a1b4581 Rename handlers 2016-02-03 22:08:54 +02:00
Sdogruyol
3b4cdd5323 Rename HTTP::WebSocketHandler::WebSocket to HTTP::WebSocket 2016-01-25 20:56:27 +02:00
Sdogruyol
d1f95c0f39 All specs passing except macros 2016-01-24 12:22:25 +02:00
Sdogruyol
fbc21b197a Rename to Kemal::WebSocketHandler 2015-12-22 20:51:27 +02:00
Sdogruyol
06ced7790b Adding websocket support :) 2015-12-15 23:11:21 +02:00
Sdogruyol
fa00265345 Use macro to generate DSL and support delete,patch verbs 2015-10-24 22:20:39 +03:00
Sdogruyol
5ca84fea4c Renamed all occurrences to Kemal 2015-10-23 21:33:26 +03:00