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.

Information about the connection a request arrived on.

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

Properties

readonly
localAddr: Deno.Addr

The local address of the connection.

readonly
remoteAddr: Deno.Addr

The remote address of the connection.