Files
url_tracker_tool/node_modules/basic-ftp/dist/netUtils.d.ts
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

24 lines
929 B
TypeScript

/// <reference types="node" />
/// <reference types="node" />
import { Socket } from "net";
import { ConnectionOptions, TLSSocket } from "tls";
/**
* Returns a string describing the encryption on a given socket instance.
*/
export declare function describeTLS(socket: Socket | TLSSocket): string;
/**
* Returns a string describing the remote address of a socket.
*/
export declare function describeAddress(socket: Socket): string;
/**
* Upgrade a socket connection with TLS.
*/
export declare function upgradeSocket(socket: Socket, options: ConnectionOptions): Promise<TLSSocket>;
/**
* Returns true if an IP is a private address according to https://tools.ietf.org/html/rfc1918#section-3.
* This will handle IPv4-mapped IPv6 addresses correctly but return false for all other IPv6 addresses.
*
* @param ip The IP as a string, e.g. "192.168.0.1"
*/
export declare function ipIsPrivateV4Address(ip?: string): boolean;