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

inkel/andale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ándale: a simple SPDY framework

Ándale is a simply SPDY framework that provides a very simple server that uses Ilya Grigorik's spdy gem to respond to SPDY requests.

Ándale is built using EventMachine, though at this stage it's not making full usage of EventMachine's capabilities.

It's usage is, at this stage, very simple: you just need to inherit from Andale and override the serve(request, response) method:

class Hello < Andale
  def serve request, response
    response.send({ "status" => "200 OK", "Content-Type" => "text/plain" }, data)
    response.fin!
  end
end

EM.run do
  EM.start_server "0.0.0.0", 10000, klass
end

TODO

There are plenty of things to do in Ándale. If you find any issue or would like to contribute, please visit the issues page.

About

Ándale: a simple SPDY framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages