Language:EN|SW
SWAHUB MODULE

swift-fetch v1.4.5 — SwaHub

A modern, promise-based HTTP client for Swalang, inspired by fetch.

Code Reference (main.sw)

swalang install swift-fetch
# Swift Fetch An isomorphic HTTP client for the browser and server-side Swalang. ## Usage ```swalang import swiftFetch from 'swift-fetch'; async func getUser(id) { let response = await swiftFetch.get(`/api/users/${id}`); return response.json(); } ```

Sitemap & Ecosystem Navigation

Language & Tools

Community & Dictionary

Foundation & Governance

Viewing the pre-rendered indexable snapshot of this resource.

Open in Swalang Web IDE →