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.0.16. Updated on: 14 July 2025.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2025. All rights reserved.