文件操作 - agent.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/node_modules/npm/node_modules/socks-proxy-agent/dist/agent.d.ts
编辑文件内容
/// <reference types="node" /> import net from 'net'; import { Agent, ClientRequest, RequestOptions } from 'agent-base'; import { SocksProxyAgentOptions } from '.'; /** * The `SocksProxyAgent`. * * @api public */ export default class SocksProxyAgent extends Agent { private lookup; private proxy; private tlsConnectionOptions; constructor(_opts: string | SocksProxyAgentOptions); /** * Initiates a SOCKS connection to the specified SOCKS proxy server, * which in turn connects to the specified remote host and port. * * @api protected */ callback(req: ClientRequest, opts: RequestOptions): Promise<net.Socket>; }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件