1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext/net
Matt Mastracci 3487fde236
perf(core) Reduce copying and cloning in extension initialization (#18252)
Follow-up to #18210:

* we are passing the generated `cfg` object into the state function
rather than passing individual config fields
 * reduce cloning dramatically by making the state_fn `FnOnce`
 * `take` for `ExtensionBuilder` to avoid more unnecessary copies
 * renamed `config` to `options`
2023-03-17 22:15:27 +00:00
..
01_net.js refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme for snapshotted modules (#18041) 2023-03-08 12:44:54 +01:00
02_tls.js refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme for snapshotted modules (#18041) 2023-03-08 12:44:54 +01:00
Cargo.toml chore: forward v1.31.3 release commit to main (#18222) 2023-03-16 17:09:26 +09:00
io.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lib.deno_net.d.ts feat: Stabilize Deno.Listener.ref/unref (#17477) 2023-01-20 16:32:55 +01:00
lib.rs perf(core) Reduce copying and cloning in extension initialization (#18252) 2023-03-17 22:15:27 +00:00
ops.rs feat(core) deno_core::extension! macro to simplify extension registration (#18210) 2023-03-17 18:22:15 +00:00
ops_tls.rs feat(core) deno_core::extension! macro to simplify extension registration (#18210) 2023-03-17 18:22:15 +00:00
ops_unix.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05: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 year to 2023 (#17247) 2023-01-02 21:00:42 +00: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"