Registry / web-framework / webmachine

webmachine

JSON →
library2.0.1rbrubygemsunverified

A toolkit for building HTTP applications in a declarative fashion, avoiding the confusion of a CGI-style interface like Rack.

gem install webmachine
INSTALL
IMPORT
SIG · WEBMACHINE
W
webmachine
web-frameworkrubyv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Webmachine
require 'webmachine'

Creates a simple HTTP resource that returns HTML.

require 'webmachine' class MyResource < Webmachine::Resource def to_html "<html><body>Hello, World!</body></html>" end end Webmachine::Application.new do |app| app.add_route(['hello'], MyResource) end.run
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Amazon
1
OpenAI (training)
1
Resources
webmachine — gem install webmachine · libregistry