HTTP
Getting Started
Required version: Sponge >=1.0.5
To use HTTP functions in your Sponge program, import the module at the top of your file:
use http;You can also use an alias:
use http as web;After importing, you can access HTTP functions using the module name:
http.page("/", "Hello, World!");
http.serve(5000);