Module: Fsws

Defined in:
lib/fsws/cli.rb,
lib/fsws/server.rb,
lib/fsws/version.rb

Defined Under Namespace

Classes: CommandLine

Constant Summary collapse

VERSION =
'2.0.2'

Class Method Summary collapse

Class Method Details

.serverObject



111
112
113
114
115
116
# File 'lib/fsws/server.rb', line 111

def self.server
  Proc.new do |env|
    code, headers, body = serve(env)
    [code.to_s, headers, body]
  end
end