deno/ext/net
Aaron O'Mullan 2ca454b402
refactor(ops): return BadResource errors in ResourceTable calls (#11710)
* refactor(ops): return BadResource errors in ResourceTable calls

Instead of relying on callers to map Options to Results via `.ok_or_else(bad_resource_id)` at over 176 different call sites ...
2021-08-15 13:29:19 +02:00
..
01_net.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
02_tls.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
04_net_unstable.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
Cargo.toml Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
io.rs refactor(ops): return BadResource errors in ResourceTable calls (#11710) 2021-08-15 13:29:19 +02:00
lib.deno_net.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
lib.deno_net.unstable.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
lib.rs Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
ops.rs refactor(ops): return BadResource errors in ResourceTable calls (#11710) 2021-08-15 13:29:19 +02:00
ops_tls.rs refactor(ops): return BadResource errors in ResourceTable calls (#11710) 2021-08-15 13:29:19 +02:00
ops_unix.rs refactor(ops): return BadResource errors in ResourceTable calls (#11710) 2021-08-15 13:29:19 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02: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_read_async"
  • "op_net_write_async"
  • "op_net_shutdown"
  • "op_accept"
  • "op_connect"
  • "op_listen"
  • "op_datagram_receive"
  • "op_datagram_send"
  • "op_dns_resolve"
  • "op_start_tls"
  • "op_connect_tls"
  • "op_listen_tls"
  • "op_accept_tls"
  • "op_http_start"
  • "op_http_request_next"
  • "op_http_request_read"
  • "op_http_response"
  • "op_http_response_write"
  • "op_http_response_close"