| Class | Rainbows::ServerToken |
| In: |
lib/rainbows/server_token.rb
|
| Parent: | Struct.new(:app, :token) |
An optional middleware to proudly display your usage of \Rainbows! in the "Server:" response header. This means you can help tell the world you‘re using \Rainbows! and spread fun and joy all over the Internet!
------ in your config.ru ------ require 'rainbows/server_token' require 'rack/lobster' use Rainbows::ServerToken run Rack::Lobster.new
If you‘re nervous about the exact version of \Rainbows! you‘re running, then you can actually specify anything you want:
use Rainbows::ServerToken, "netcat 1.0"