@midwayjs/axiosClassesHttpServiceFactory版本:Next本页总览HttpServiceFactory HierarchyServiceFactory<AxiosInstance>HttpServiceFactoryIndex ConstructorsconstructorPropertiesaxiosConfigMethodscreateInstancegetgetClientKeysgetClientPrioritygetClientsgetDefaultClientNamegetNamehasinitisHighPriorityisLowPriorityisMediumPrioritystopConstructors constructornew HttpServiceFactory(): HttpServiceFactoryProperties axiosConfigaxiosConfig: anyMethods createInstancecreateInstance(config: any, clientName?: any): Promise<AxiosInstance>getget<U>(id?: string): UType parametersU = AxiosInstancegetClientKeysgetClientKeys(): string[]getClientPrioritygetClientPriority(name: string): stringgetClientsgetClients(): Map<string, AxiosInstance>getDefaultClientNamegetDefaultClientName(): stringgetNamegetName(): stringhashas(id: string): booleaninitinit(): Promise<void>isHighPriorityisHighPriority(name: string): booleanisLowPriorityisLowPriority(name: string): booleanisMediumPriorityisMediumPriority(name: string): booleanstopstop(): Promise<void>