Skip to main content
Module

std/http/mod.ts>ConnInfo

The Deno Standard Library
Latest
interface ConnInfo
Deprecated
Deprecated

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

import { type ConnInfo } from "https://deno.land/std@0.223.0/http/mod.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.