1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/ext/net
Luca Casonato c061538417
refactor(ext/net): clean up variadic network ops (#16392)
Previously `op_net_listen`, `op_net_accept`, and various other ops in
ext/net where variadic on the transport. This created a lot of code
bloat. This commit updates the code to instead have separate ops for
each transport.
2022-10-24 14:55:39 +02:00
..
01_net.js refactor(ext/net): clean up variadic network ops (#16392) 2022-10-24 14:55:39 +02:00
02_tls.js refactor(ext/net): clean up variadic network ops (#16392) 2022-10-24 14:55:39 +02:00
Cargo.toml chore: forward v1.26.2 to main (#16331) 2022-10-17 23:11:16 +02:00
io.rs chore: fix windows-only clippy errors (#16289) 2022-10-15 13:56:54 +00:00
lib.deno_net.d.ts fix(ext/net): return an error from startTls and serveHttp if the original connection is captured elsewhere (#16242) 2022-10-18 11:28:27 +09:00
lib.rs refactor(ext/net): clean up variadic network ops (#16392) 2022-10-24 14:55:39 +02:00
ops.rs refactor(ext/net): clean up variadic network ops (#16392) 2022-10-24 14:55:39 +02:00
ops_tls.rs refactor(ext/net): clean up variadic network ops (#16392) 2022-10-24 14:55:39 +02:00
ops_unix.rs refactor(ext/net): clean up variadic network ops (#16392) 2022-10-24 14:55:39 +02:00
README.md refactor(ext/net): clean up variadic network ops (#16392) 2022-10-24 14:55:39 +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"