1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/ext/net
Luca Casonato 1ab3691b09
feat(core): add Deno.core.writeAll(rid, chunk) (#16228)
This commit adds a new op_write_all to core that allows writing an
entire chunk in a single async op call. Internally this calls
`Resource::write_all`.

The `writableStreamForRid` has been moved to `06_streams.js` now, and
uses this new op. Various other code paths now also use this new op.

Closes #16227
2022-10-10 10:28:35 +02:00
..
01_net.js feat(core): add Deno.core.writeAll(rid, chunk) (#16228) 2022-10-10 10:28:35 +02:00
02_tls.js perf(ops): Monomorphic sync op calls (#15337) 2022-08-11 15:56:56 +02:00
04_net_unstable.js feat(unstable): add ref/unref to Listener (#13961) 2022-03-23 12:04:20 +09:00
Cargo.toml chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
io.rs feat(core): improve resource read & write traits (#16115) 2022-10-09 14:49:25 +00:00
lib.deno_net.d.ts docs: add permission tags to JSDocs (#15541) 2022-08-23 10:57:01 +10:00
lib.rs feat: Add requesting API name to permission prompt (#15936) 2022-09-27 22:36:33 +02:00
ops.rs feat: Add requesting API name to permission prompt (#15936) 2022-09-27 22:36:33 +02:00
ops_tls.rs feat(core): improve resource read & write traits (#16115) 2022-10-09 14:49:25 +00:00
ops_unix.rs fix(net): don't panic on failed UDS removal (#15157) 2022-07-12 11:53:53 -04:00
README.md feat(core): streams (#12596) 2021-11-09 19:26:17 +01: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"
  • "op_net_connect"
  • "op_net_listen"
  • "op_dgram_recv"
  • "op_dgram_send"
  • "op_dns_resolve"
  • "op_tls_start"
  • "op_tls_connect"
  • "op_tls_listen"
  • "op_tls_accept"
  • "op_tls_handshake"