mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
Add unstable checks for unix transport (#5818)
Also remove the unix example from the stable documentation to stay in line with the `Deno.listen` one
This commit is contained in:
parent
f6e3160356
commit
b7f0b073bb
3 changed files with 6 additions and 3 deletions
2
cli/js/lib.deno.unstable.d.ts
vendored
2
cli/js/lib.deno.unstable.d.ts
vendored
|
@ -1067,7 +1067,7 @@ declare namespace Deno {
|
|||
* const conn5 = await Deno.connect({ path: "/foo/bar.sock", transport: "unix" });
|
||||
* ```
|
||||
*
|
||||
* Requires `allow-net` permission for "tcp" and `allow-read` for unix. */
|
||||
* Requires `allow-net` permission for "tcp" and `allow-read` for "unix". */
|
||||
export function connect(
|
||||
options: ConnectOptions | UnixConnectOptions
|
||||
): Promise<Conn>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue