1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/ext/net
Bartek Iwańczuk 8d5c0112fb
feat: don't require --unstable flag for npm programs (#16520)
This PR adds copies of several unstable APIs that are available
in "Deno[Deno.internal].nodeUnstable" namespace.

These copies do not perform unstable check (ie. don't require
"--unstable" flag to be present). Otherwise they work exactly
the same, including permission checks.

These APIs are not meant to be used by users directly and
can change at any time.

Copies of following APIs are available in that namespace:
- Deno.spawnChild
- Deno.spawn
- Deno.spawnSync
- Deno.serve
- Deno.upgradeHttpRaw
- Deno.listenDatagram
2022-11-10 22:03:28 +01:00
..
01_net.js feat: don't require --unstable flag for npm programs (#16520) 2022-11-10 22:03:28 +01:00
02_tls.js feat(ext/net): reusePort for TCP on Linux (#16398) 2022-10-26 19:04:27 +00:00
Cargo.toml chore: forward v1.27.2 release commit to main (#16572) 2022-11-09 00:27:51 +01:00
io.rs chore: fix windows-only clippy errors (#16289) 2022-10-15 13:56:54 +00:00
lib.deno_net.d.ts feat(ext/net): reusePort for TCP on Linux (#16398) 2022-10-26 19:04:27 +00:00
lib.rs Revert "Revert "refactor(ext/net): clean up variadic network ops (#16… (#16422) 2022-10-25 22:50:55 +02:00
ops.rs feat: don't require --unstable flag for npm programs (#16520) 2022-11-10 22:03:28 +01:00
ops_tls.rs feat(ext/net): reusePort for TCP on Linux (#16398) 2022-10-26 19:04:27 +00:00
ops_unix.rs feat: don't require --unstable flag for npm programs (#16520) 2022-11-10 22:03:28 +01:00
README.md Revert "Revert "refactor(ext/net): clean up variadic network ops (#16… (#16422) 2022-10-25 22:50:55 +02:00
resolve_addr.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00

deno_net

This crate implements networking APIs.

This crate depends on following extensions:

  • "deno_web"
  • "deno_fetch"

Following ops are provided:

  • "op_net_accept_tcp"
  • "op_net_accept_unix"
  • "op_net_connect_tcp"
  • "op_net_connect_unix"
  • "op_net_listen_tcp"
  • "op_net_listen_udp"
  • "op_net_listen_unix"
  • "op_net_listen_unixpacket"
  • "op_net_recv_udp"
  • "op_net_recv_unixpacket"
  • "op_net_send_udp"
  • "op_net_send_unixpacket"
  • "op_dns_resolve"
  • "op_net_connect_tls"
  • "op_net_listen_tls"
  • "op_net_accept_tls"
  • "op_tls_start"
  • "op_tls_handshake"