http
← Back to Module url
The default instance of class http and provides common HTTP status codes
const http: http
import url response = url.get("https://example.com/") if response.code == http.ok writeln(response.body) endif
Documentation version: 1.1.02. Updated on: 2 February 2026.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2026. All rights reserved.