deno.land / std@0.166.0 / node / testdata / https_get.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
import * as https from "../https.ts";import type { EventEmitter } from "../events.ts";https.get("https://localhost:4505", (res: EventEmitter) => { let data = ""; res.on("data", (chunk) => { data += chunk; }); res.on("end", () => { console.log(data); });}).end();
std

Version Info

Tagged at
a year ago