文件操作 - interceptors.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/undici-types/interceptors.d.ts
编辑文件内容
import Dispatcher from "./dispatcher"; import RetryHandler from "./retry-handler"; export default Interceptors; declare namespace Interceptors { export type DumpInterceptorOpts = { maxSize?: number } export type RetryInterceptorOpts = RetryHandler.RetryOptions export type RedirectInterceptorOpts = { maxRedirections?: number } export type ResponseErrorInterceptorOpts = { throwOnError: boolean } export function createRedirectInterceptor(opts: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor export function dump(opts?: DumpInterceptorOpts): Dispatcher.DispatcherComposeInterceptor export function retry(opts?: RetryInterceptorOpts): Dispatcher.DispatcherComposeInterceptor export function redirect(opts?: RedirectInterceptorOpts): Dispatcher.DispatcherComposeInterceptor export function responseError(opts?: ResponseErrorInterceptorOpts): Dispatcher.DispatcherComposeInterceptor }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件