UNPKG

kaven-utils

Version:

Utils for Node.js.

31 lines (30 loc) 1.07 kB
/******************************************************************** * @author: Kaven * @email: kaven@wuwenkai.com * @website: http://blog.kaven.xyz * @file: [Kaven-Utils] /src/net/proxy/HttpProxyUser.ts * @create: 2022-04-12 13:15:31.858 * @modify: 2025-10-14 22:58:04.862 * @version: 6.1.0 * @times: 28 * @lines: 53 * @copyright: Copyright © 2022-2025 Kaven. All Rights Reserved. * @description: [description] * @license: [license] ********************************************************************/ import { Socket } from "node:net"; import { HttpRequestParser } from "../http/HttpRequestParser.js"; import { ILoggingAgent } from "kaven-basic"; export declare class HttpProxyUser { readonly StartDate: Date; readonly UserSocket: Socket; readonly User: string; Logger?: ILoggingAgent; constructor(userSocket: Socket); Parser?: HttpRequestParser; ServerSocket?: Socket; Server: string; Log(data: unknown): void; Error(data: unknown): void; Destroy(): void; }