1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-02 17:01:14 -05:00
denoland-deno/extensions/net
Bartek Iwańczuk 38a7128cdd
feat: Add "deno_net" extension (#11150)
This commits moves implementation of net related APIs available on "Deno"
namespace to "deno_net" extension.

Following APIs were moved:
- Deno.listen()
- Deno.connect()
- Deno.listenTls()
- Deno.serveHttp()
- Deno.shutdown()
- Deno.resolveDns()
- Deno.listenDatagram()
- Deno.startTls()
- Deno.Conn
- Deno.Listener
- Deno.DatagramConn
2021-06-29 01:43:03 +02:00
..
01_net.js feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
02_tls.js feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
03_http.js feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
04_net_unstable.js feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
Cargo.toml feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
io.rs feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
lib.deno_net.d.ts feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
lib.deno_net.unstable.d.ts feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
lib.rs feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
ops.rs feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
ops_http.rs feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
ops_tls.rs feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
ops_unix.rs feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
README.md feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +02:00
resolve_addr.rs feat: Add "deno_net" extension (#11150) 2021-06-29 01:43:03 +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"