Commit graph

19 commits

Author SHA1 Message Date
sdogruyol
1d056b203b Dynamically insert handlers. Fixes #376 2017-07-11 11:22:35 +03:00
Michael Barrett
c08bf71d88 Allow for disabling the shutdown message (#292)
Allow for disabling the shutdown message
2017-01-18 15:55:33 +03:00
Sdogruyol
ac8ec0a07b Remove redundant session stuff 2016-12-10 19:34:46 +03:00
Sdogruyol
8c600cb26e Make session name and expire time configurable 2016-09-30 14:03:29 +03:00
Sdogruyol
09d9e708f1 Introduce Kemal::InitHandler to initialize HTTP::Server::Context with defaults 2016-07-17 18:11:26 +03:00
Sdogruyol
20a174b66e Add extra_options from CLI 2016-07-04 20:23:16 +03:00
Ben Jolitz
108e732274 rename on_options -> extra_options 2016-05-07 17:18:42 -07:00
Ben Jolitz
1f809c68c8 Support additional options as part of the Config
This commit adds the ability to add a closure suitable for adding
additional options. It is expected to allow someone to set global,
module or class level variables so they can pass changes/options
suitable for making decisions.
2016-03-30 13:33:51 -07:00
Sdogruyol
87df71a89a Refactor specs 2016-03-21 18:29:48 +02:00
Sdogruyol
092f5a2e49 Improve kemal.cr 2016-02-14 15:15:52 +02:00
sdogruyol
8f5bc755ae Add logger macro to easily setup custom log_handler 2016-02-12 16:09:15 +02:00
sdogruyol
3c75d727ba Complete decoupling logger 2016-02-12 14:11:34 +02:00
Sdogruyol
850af8819e Start decoupling logger 2016-02-11 23:26:47 +02:00
sdogruyol
eb4c82043a Add add_handler macro 2016-01-05 14:20:40 +02:00
sdogruyol
7ad319c70d v0.6.0 2016-01-03 22:13:10 +02:00
sdogruyol
c21567fe17 Add macro specs 2016-01-03 13:22:43 +02:00
Serdar Dogruyol
aaa2ee1e31 Add public_folder macro 2015-12-30 20:16:04 +02:00
Sdogruyol
28d4d5167b Updated logger to be more robust 2015-11-18 22:45:49 +02:00
Sdogruyol
dcba72c891 Added config spec 2015-11-14 23:45:20 +02:00