Skip to main content
Module

x/mysql2/deps.ts>Socket#address

MySQL client for Deno with focus on performance. Supports prepared statements, non-utf8 encodings, binary log protocol, compression much more
Latest
method Socket.prototype.address
import { Socket } from "https://deno.land/x/mysql2@v1.0.6/deps.ts";

Returns the bound address, the address family name and port of the socket as reported by the operating system:{ port: 12346, family: "IPv4", address: "127.0.0.1" }

Returns

AddressInfo | Record<string, never>