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

std/http/server.ts>ConnInfo

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ConnInfo
Deprecated
Deprecated

(will be removed after 1.0.0) Use Deno.ServeHandlerInfo instead.

import { type ConnInfo } from "https://deno.land/std@0.218.0/http/server.ts";

Information about the connection a request arrived on.

Properties

readonly
localAddr: Deno.Addr

The local address of the connection.

readonly
remoteAddr: Deno.Addr

The remote address of the connection.