1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext
Matt Mastracci 365e1f48f7
feat(ext/http): Add addr to HttpServer (#23442)
Adds an `addr` field to `HttpServer` to simplify the pattern
`Deno.serve({ onListen({ port } => listenPort = port })`. This becomes:
`const server = Deno.serve({}); port = server.addr.port`.

Changes:
- Refactors `serve` overloads to split TLS out (in preparation for
landing a place for the TLS SNI information)
- Adds an `addr` field to `HttpServer` that matches the `addr` field of
the corresponding `Deno.Listener`s.
2024-04-19 18:09:50 -06:00
..
broadcast_channel chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
cache chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
canvas chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
console chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
cron chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
crypto chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
fetch feat(ext/net): extract TLS key and certificate from interfaces (#23327) 2024-04-18 11:21:08 -06:00
ffi chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
fs chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
http feat(ext/http): Add addr to HttpServer (#23442) 2024-04-19 18:09:50 -06:00
io chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
kv chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
napi chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
net feat(ext/net): extract TLS key and certificate from interfaces (#23327) 2024-04-18 11:21:08 -06:00
node fix(ext/node): Correctly send ALPN on node TLS connections (#23434) 2024-04-18 09:37:47 -06:00
tls chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
url feat(ext/url): add URL.parse (#23318) 2024-04-16 17:11:57 +02:00
web fix(ext/node): worker_threads.receiveMessageOnPort doesn't panic (#23406) 2024-04-16 18:41:03 +00:00
webgpu chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
webidl chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
websocket chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00
webstorage chore: forward v1.42.4 commit to main (#23394) 2024-04-16 02:41:59 +00:00