(from /home/chedong/.local/share/rdoc)
------------------------------------------------------------------------
WEBrick::HTTPServlet
| Use Case | Command | Description |
|---|---|---|
| Serve static files | mount('/', WEBrick::HTTPServlet::FileHandler, '/path') | 📁 Serve files from a directory |
| Custom servlet | class MyServlet < WEBrick::HTTPServlet::AbstractServlet; ... end | 🛠️ Define custom request handling |
| Start server | server.mount('/', MyServlet); server.start | 🚀 Run the servlet |
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 18:40 @216.73.216.177
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format