Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/http/mod.ts>_parseAddrFromStr

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function _parseAddrFromStr
import { _parseAddrFromStr } from "https://deno.land/std@0.82.0/http/mod.ts";

Parse addr from string

const addr = "::1:8000";
parseAddrFromString(addr);

Parameters

addr: string

Address string