1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext/net
Yoshiya Hinosawa 3d35900639
fix(ext/net): fix string port number handling in listen (#19921)
While string `port` is not allowed in typing, it seems we used to
support that and now it's broken. ref:
https://github.com/denoland/deno/issues/10064#issuecomment-1637427260

This PR restores the support of string port number in `listen` and
`listenTls`
2023-07-25 06:26:18 +00:00
..
01_net.js fix(ext/net): fix string port number handling in listen (#19921) 2023-07-25 06:26:18 +00:00
02_tls.js fix(ext/net): fix string port number handling in listen (#19921) 2023-07-25 06:26:18 +00:00
Cargo.toml chore: forward v1.35.2 release commit to main (#19887) 2023-07-20 05:11:50 +02: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 'alpnProtocols' setting (#19704) 2023-07-04 15:28:50 +02:00
lib.rs chore: upgrade to Rust 1.70.0 (#19345) 2023-06-06 00:35:39 +00:00
ops.rs refactor(ops): op2 support for generics (#19636) 2023-06-29 10:23:14 -06:00
ops_tls.rs fix: remove unstable check for Deno.listenTls#alpnProtocols (#19732) 2023-07-06 13:45:15 +00:00
ops_unix.rs refactor(serde_v8): split ZeroCopyBuf into JsBuffer and ToJsBuffer (#19566) 2023-06-22 23:37:56 +02:00
raw.rs refactor(ext/http): simpler ws server in http_next (#19133) 2023-05-16 01:24:41 +02: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"