Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Fix indentation in README
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Aug 5, 2012
1 parent 0ff09b3 commit a790ec5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,16 @@ require 'reel'

Reel::Server.supervise("0.0.0.0", 3000) do |connection|
while request = connection.request
if request.is_a? Reel::WebSocket
puts "Client made a WebSocket request to: #{request.url}"
request << "Hello there"
connection.close
break
else
puts "Client requested: #{request.method} #{request.url}"
connection.respond :ok, "hello, world"
end
end
if request.is_a? Reel::WebSocket
puts "Client made a WebSocket request to: #{request.url}"
request << "Hello there"
connection.close
break
else
puts "Client requested: #{request.method} #{request.url}"
connection.respond :ok, "hello, world"
end
end
end
```

Expand Down

0 comments on commit a790ec5

Please sign in to comment.