Format websocket doc

This commit is contained in:
Sdogruyol 2015-12-16 20:21:17 +02:00
parent f258f28689
commit 40b8411f25

View file

@ -18,6 +18,7 @@ with different routes.
Let's access the socket and create a simple echo server.
```ruby
# Matches "/"
ws "/" do |socket|
# Send welcome message to the client
socket.send "Hello from Kemal!"