net

v1.0.0 Networking & Cloud

Asynchronous TCP/UDP networking, HTTP/1.1 client & server, and WebSocket engine.

Publisher: Rohit Pathak (TEZZCORP PRIVATE LIMITED) • License: MIT • Downloads: 3,494

Installation & Inclusion

Run from your project root:

tezz install net

Or add directly to tezz.mod:

dep.net = 1.0.0

Example Usage in TezzNative

import net
import task

async fn fetch_data(url:str) -> str:
  client:net.HttpClient = net.HttpClient()
  resp:net.Response = await client.get(url)
  ret resp.body()

fn main() -> int:
  task.run(fetch_data("https://tezznative.org/api/packages.php"))
  ret 0

Cryptographic Integrity (SHA-256)

b0a94b2cbc097efe4a90425aaec4bd044528865bf1a76812d17f8c101abcb847

Package Metadata

  • Version: v1.0.0
  • Category: Networking & Cloud
  • License: MIT
  • Downloads: 3,494
  • Source: net.tn
  • Company: TEZZCORP PRIVATE LIMITED