Commit Graph

25 Commits

Author SHA1 Message Date
Serdar Dogruyol 268e501a63 fix Crystal 1.5.0 warnings 2022-06-29 13:31:28 +03:00
Brian J. Cardiff a8c0f09b85
Upgrade to Crystal 0.35.0 (#570)
* Update to ameba ~> 0.12.0

* Use Compress::Deflate and Compress::Gzip

* Drop unused require

* Fix spec due to defer request upgrade
2020-06-10 21:11:43 +03:00
Serdar Dogruyol 8fb028149b Cache http routes 2018-09-16 13:22:45 +03:00
Serdar Dogruyol d2ef57a128 Improve param parsing and remove url_params from HTTP::Request 2018-07-03 20:29:06 +03:00
V. Elenhaupt c2236acf3a Code fixes reported by static code analysis (#450) 2018-05-17 11:07:40 +03:00
Serdar Dogruyol 84839f4da7 Refactour handler radix names 2017-10-06 12:46:58 +03:00
Serdar Dogruyol fe9d193418 Seperate websocket and websocket handler. Fixes #395 2017-09-10 14:41:07 +03:00
Serdar Dogruyol efd97b75f9 Refactor 2017-08-24 18:52:10 +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
sdogruyol 1d056b203b Dynamically insert handlers. Fixes #376 2017-07-11 11:22:35 +03:00
Rimas Silkaitis 0b4856b741 User defined context store types (#339)
allow the context storage to handle any types
2017-04-06 21:43:41 +03:00
sdogruyol 6b034c3b2f Rename MemoryIO to IO::Memory since it's deprecated on Crystal 0.20.0 2016-11-22 23:29:10 +03:00
Serdar Dogruyol 922d6de4d1 Middleware ordering (#236)
Improve and correct request middleware

 Request -> Middleware -> Filter -> Route
2016-10-28 11:35:34 +03:00
Sdogruyol 98efbfe341 Improve logging and specs 2016-07-28 21:12:55 +03:00
sdogruyol 05e44e68c6 Updating to instance types 2016-04-12 14:41:09 +03:00
Sdogruyol 87df71a89a Refactor specs 2016-03-21 18:29:48 +02:00
Joris Moriau c5201f01ad added verb for filters and minor improvements 2016-02-17 10:34:01 +01:00
sdogruyol 3c75d727ba Complete decoupling logger 2016-02-12 14:11:34 +02:00
Sdogruyol d1f95c0f39 All specs passing except macros 2016-01-24 12:22:25 +02:00
sdogruyol eb4c82043a Add add_handler macro 2016-01-05 14:20:40 +02:00
sdogruyol c21567fe17 Add macro specs 2016-01-03 13:22:43 +02:00
Sdogruyol 743fd3682d Add HTTPBasicAuth middleware 2015-12-27 11:53:54 +02:00
Sdogruyol 9a5934811d Set to development before_each spec 2015-11-25 23:35:04 +02:00
Sdogruyol 5ca84fea4c Renamed all occurrences to Kemal 2015-10-23 21:33:26 +03:00
Juan Wajnerman 2eaf44195e Initial commit 2014-06-11 20:41:02 -03:00