Commit Graph

17 Commits

Author SHA1 Message Date
Chao Yang 9bd24caf7e
Closes response by default in HTTP::Server::Context#redirect (#641) 2022-06-29 13:25:40 +03:00
Anton Maminov b7506f6fab
allow to set optional response body on redirects (#561) 2020-04-04 21:25:35 +03:00
Serdar Dogruyol e468e2e340 route_defined? -> route_found? 2018-08-13 19:21:18 +03:00
Serdar Dogruyol d2ef57a128 Improve param parsing and remove url_params from HTTP::Request 2018-07-03 20:29:06 +03:00
Serdar Dogruyol ad5dc053c4 Remove _method override 2018-07-03 20:29:06 +03:00
Serdar Dogruyol 4034dab952 Add Kemal::Context.get? to safely access context storage. Fixes #428 2018-01-26 18:30:09 +03:00
Sijawusz Pur Rahnama 210e2c0801 Prettify docs (#410) 2017-10-06 14:53:53 +03:00
Serdar Dogruyol fe9d193418 Seperate websocket and websocket handler. Fixes #395 2017-09-10 14:41:07 +03:00
Serdar Dogruyol 8fb5be2a42 Remove redundant casts 2017-09-05 12:03:37 +03:00
mang 249912222d Set correct namespace for Route
Fixes compile error "undefined constant Route"
2017-09-05 01:25:42 +02:00
Serdar Dogruyol 422313425c Remove redundant intermediate var from process_route 2017-09-04 23:46:53 +03:00
Serdar Dogruyol 00217d9545 Add more types to method signatures 2017-08-24 23:32:43 +03:00
Sdogruyol 3fd3349383 Don't raise on WS route not found 2017-08-21 12:38:28 +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 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
Sdogruyol 8331beceef Move Crystal core classes to ext 2017-03-04 00:01:26 +03:00
Renamed from src/kemal/context.cr (Browse further)