Sha256: c14b0711b0ab959a680403194cc56fb6a524fb88fae8739233011cefdcc7f911
Contents?: true
Size: 305 Bytes
Versions: 3
Compression:
Stored size: 305 Bytes
Contents
# frozen_string_literal: true require "rack" require "toycol" Toycol::Protocol.use class App def call(env) case env["REQUEST_METHOD"] when "GET" [ 200, { "Content-Type" => "text/html" }, ["This app has no protocol name\n"] ] end end end run App.new
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
toycol-1.0.0 | examples/anonymous/config.ru |
toycol-0.3.1 | examples/anonymous/config.ru |
toycol-0.3.0 | examples/anonymous/config.ru |