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
Aaron O'Mullan 375ce63c63
feat(core): streams (#12596)
This allows resources to be "streams" by implementing read/write/shutdown. These streams are implicit since their nature (read/write/duplex) isn't known until called, but we could easily add another method to explicitly tag resources as streams.

`op_read/op_write/op_shutdown` are now builtin ops provided by `deno_core`

Note: this current implementation is simple & straightforward but it results in an additional alloc per read/write call

Closes #12556
2021-11-09 19:26:17 +01:00
..
01_net.js feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
02_tls.js cleanup(ext/net): consistent op names (#12607) 2021-10-30 18:51:42 +02:00
04_net_unstable.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
Cargo.toml chore: bump crate versions for 1.16.0 (#12706) 2021-11-09 13:03:17 +01:00
io.rs feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
lib.deno_net.d.ts feat: stabilize Deno.startTls (#12581) 2021-10-29 17:13:31 +02:00
lib.rs feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
ops.rs cleanup(ext/net): consistent op names (#12607) 2021-10-30 18:51:42 +02:00
ops_tls.rs feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
ops_unix.rs chore: various op cleanup (#12329) 2021-10-05 22:38:27 +02:00
README.md feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
resolve_addr.rs Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02: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"