Skip to main content
The Deno 2 Release Candidate is 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.92.0/http/mod.ts";

Parse addr from string

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

Parameters

addr: string

Address string