mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
BREAKING(net): remove Deno.ConnectTlsOptions.{certChain,certFile,privateKey}
and Deno.ListenTlsOptions.certChain,certFile,keyFile}
(#25525)
Towards #22079
This commit is contained in:
parent
be0ba6d84f
commit
ace1202227
11 changed files with 29 additions and 516 deletions
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -5356,7 +5356,7 @@ declare namespace Deno {
|
|||
export function serve(
|
||||
options:
|
||||
| ServeTcpOptions
|
||||
| (ServeTcpOptions & TlsCertifiedKeyOptions),
|
||||
| (ServeTcpOptions & TlsCertifiedKeyPem),
|
||||
handler: ServeHandler<Deno.NetAddr>,
|
||||
): HttpServer<Deno.NetAddr>;
|
||||
/** Serves HTTP requests with the given option bag.
|
||||
|
@ -5413,7 +5413,7 @@ declare namespace Deno {
|
|||
*/
|
||||
export function serve(
|
||||
options:
|
||||
& (ServeTcpOptions | (ServeTcpOptions & TlsCertifiedKeyOptions))
|
||||
& (ServeTcpOptions | (ServeTcpOptions & TlsCertifiedKeyPem))
|
||||
& ServeInit<Deno.NetAddr>,
|
||||
): HttpServer<Deno.NetAddr>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue