Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.84.0/http/server.ts";

Parse addr from string

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

Parameters

addr: string

Address string

Returns

HTTPOptions