- Built-in super simple & fast  WebSocket support
- Remove experimental fork mode
- Improve view macros (Thanks @f)
This commit is contained in:
Sdogruyol 2015-12-19 10:05:28 +02:00
parent 44af664748
commit d50d305e99
2 changed files with 10 additions and 3 deletions

View file

@ -4,18 +4,25 @@
[![Join the chat at https://gitter.im/sdogruyol/kemal](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/sdogruyol/kemal?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Lightning Fast, Super Simple web framework for [Crystal](http://www.crystal-lang.org).
Inspired by [Sinatra](http://www.sinatrarb.com/)
Inspired by [Sinatra](http://www.sinatrarb.com/) but with superior performance and built-in WebSocket support.
Kemal is under heavy development and currently supports Crystal 0.9.0.
Kemal is under heavy development and currently supports Crystal 0.9.1.
# Super Simple <3
```ruby
require "kemal"
# Matches GET "http://host:port/"
get "/" do
"Hello World!"
end
# Creates a WebSocket handler.
# Matches "ws://host:port/socket"
ws "/socket" do |socket|
socket.send "Hello from Kemal!"
end
```
Build and run!

View file

@ -1,5 +1,5 @@
name: kemal
version: 0.3.0
version: 0.4.0
author:
- Serdar Dogruyol <dogruyolserdar@gmail.com>