Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(net): mark getNetworkAddress() unstable #5348

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions net/get_network_address.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
/**
* **UNSTABLE**: New API, yet to be vetted.
*
* Gets the IPv4 or IPv6 network address of the machine.
*
* This is inspired by the util of the same name in
Expand Down Expand Up @@ -29,6 +31,8 @@
*
* Deno.serve({ port: 0, hostname }, () => new Response("Hello, world!"));
* ```
*
* @experimental
*/
export function getNetworkAddress(
family: Deno.NetworkInterfaceInfo["family"] = "IPv4",
Expand Down