1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext/net/README.md
Bert Belder 6a96560986
fix(ext/net): fix TLS bugs and add 'op_tls_handshake' (#12501)
A bug was fixed that could cause a hang when a method was
called on a TlsConn object that had thrown an exception earlier.

Additionally, a bug was fixed that caused TlsConn.write() to not
completely flush large buffers (>64kB) to the socket.

The public `TlsConn.handshake()` API is scheduled for inclusion in the
next minor release. See https://github.com/denoland/deno/pull/12467.
2021-10-20 01:30:04 +02:00

563 B

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_tls_handshake"
  • "op_http_start"
  • "op_http_request_next"
  • "op_http_request_read"
  • "op_http_response"
  • "op_http_response_write"
  • "op_http_response_close"