Commit graph

20 commits

Author SHA1 Message Date
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
9f01eb90e1 Format 2017-05-09 10:46:25 +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
Marwan Rabbâa
34d5200e80 missing context key (#342) 2017-03-25 19:20:10 +02:00
Sdogruyol
eb64b52f84 Actually there's no middleware anymore 2016-12-04 01:43:30 +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
Sdogruyol
09d9e708f1 Introduce Kemal::InitHandler to initialize HTTP::Server::Context with defaults 2016-07-17 18:11:26 +03:00
Sdogruyol
4edebcf8eb Format 2016-07-17 14:31:45 +03:00
Sdogruyol
09d82ed74b Add context store 2016-07-14 21:56:01 +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
467a1b4581 Rename handlers 2016-02-03 22:08:54 +02:00
Sdogruyol
94a73e9ade Update built-in exception route handler 2016-01-24 18:25:21 +02:00
Sdogruyol
02af920a0f Make default content-type text/html 2016-01-24 17:52:24 +02:00
Sdogruyol
d1f95c0f39 All specs passing except macros 2016-01-24 12:22:25 +02:00
Sdogruyol
a7cc498dca Refactored context 2015-10-30 22:34:44 +02:00
Sdogruyol
4ce1bc908f Added response and headers 2015-10-30 22:01:18 +02:00
Serdar Dogruyol
ffdaecace4 Added headers to context 2015-10-30 17:06:25 +02:00
Sdogruyol
1c53321026 Changed default content-type to text/html 2015-10-28 21:55:17 +02:00
Sdogruyol
5376eb8bb2 Added context specs 2015-10-28 20:52:34 +02:00