summaryrefslogtreecommitdiff
path: root/ext/net/lib.deno_net.d.ts
AgeCommit message (Collapse)Author
2023-01-20feat: Stabilize Deno.Listener.ref/unref (#17477)Bartek Iwańczuk
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-12-28feat(unstable): Add Deno.Conn.ref()/unref() (#17170)Bartek Iwańczuk
This commit adds "Deno.Conn.ref()" and "Deno.Conn.unref()" methods. These methods can be used to make connection block or not block the event loop from finishing. Refing/unrefing only influences "read" operations - ie. scheduling writes to a connection _do_ keep event loop alive. Required for https://github.com/denoland/deno/issues/16710
2022-12-14feat: Stabilize Deno.TcpConn.setNoDelay() and Deno.TcpConn.setKeepAlive() ↵Bartek Iwańczuk
(#17003) This commit stabilizes following APIs: - `Deno.TcpConn.setNoDelay()` - `Deno.TcpConn.setKeepAlive()`
2022-12-13docs: use example & default tags (#17032)Leo Kettmeir
2022-10-26feat(ext/net): reusePort for TCP on Linux (#16398)Luca Casonato
2022-10-18fix(ext/net): return an error from `startTls` and `serveHttp` if the ↵Yusuke Tanaka
original connection is captured elsewhere (#16242) This commit removes the calls to `expect()` on `std::rc::Rc`, which caused Deno to panic under certain situations. We now return an error if `Rc` is referenced by other variables. Fixes #9360 Fixes #13345 Fixes #13926 Fixes #16241 Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-08-23docs: add permission tags to JSDocs (#15541)Kitson Kelly
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com>
2022-08-17docs: add category tag for built-in APIs (#15480)Kitson Kelly
2022-03-04feat(net): add Deno.UnixConn interface (#13787)Bartek Iwańczuk
2022-02-27feat: Add Deno.TcpConn class, change return type from Deno.connect (#13714)Bartek Iwańczuk
2022-02-24feat(ext/net): support cert, key options in listenTls (#13740)Yoshiya Hinosawa
2022-02-16chore: make new TCP conn methods unstable (#13686)Luca Casonato
2022-02-15feat(runtime): web streams in fs & net APIs (#13615)Luca Casonato
This commit adds `readable` and `writable` properties to `Deno.File` and `Deno.Conn`. This makes it very simple to use files and network sockets with fetch or the native HTTP server.
2022-01-31feat(ext/net): Add Conn.setNoDelay and Conn.setKeepAlive (#13103)Yosi Pramajaya
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2021-12-10chore: place `@deprecated` tag after documentation block (#13037)Kitson Kelly
2021-11-26feat(ext/net): ALPN support in `Deno.connectTls()` (#12786)Yury Selivanov
2021-10-29feat: stabilize Deno.startTls (#12581)Luca Casonato
This commit stabilizes `Deno.startTls` and removes `certFile` from the `StartTlsOptions`.
2021-10-26feat(ext/net): add TlsConn.handshake() (#12467)Bert Belder
A `handshake()` method was added that returns when the TLS handshake is complete. The `TlsListener` and `TlsConn` interfaces were added to accomodate this new method. Closes: #11759.
2021-09-30feat(tls): custom in memory CA certificates (#12219)Luca Casonato
This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`.
2021-09-07docs(ext/net): add note about listening 0.0.0.0 (#11938)Yoshiya Hinosawa
Co-authored-by: Craig Morten <cmorten@users.noreply.github.com>
2021-09-02feat(fmt): add basic JS doc formatting (#11902)David Sherret
2021-08-11Rename extensions/ directory to ext/ (#11643)Ryan Dahl