From e664febf3434716309b3e567fc776402985ee4ef Mon Sep 17 00:00:00 2001 From: JacobLinCool Date: Wed, 12 Feb 2025 11:36:19 +0000 Subject: [PATCH] deploy: f1dfb1b926ad129ff9fffab9b8d07f42a4f6633c --- classes/AlreadyInstalledError.html | 4 ++-- classes/ConfigHandler.html | 12 ++++++------ classes/ConnectionHandler.html | 4 ++-- classes/NotInstalledError.html | 4 ++-- classes/TryCloudflareHandler.html | 4 ++-- classes/Tunnel.html | 22 +++++++++++----------- functions/build_args.html | 2 +- functions/build_options.html | 2 +- functions/install.html | 2 +- functions/install_linux.html | 2 +- functions/install_macos.html | 2 +- functions/install_windows.html | 2 +- functions/tunnel-1.html | 2 +- functions/use.html | 2 +- interfaces/ConfigHandlerEvents.html | 4 ++-- interfaces/Connection.html | 4 ++-- interfaces/TunnelConfig.html | 4 ++-- interfaces/TunnelEvents.html | 4 ++-- types/OutputHandler.html | 2 +- types/TunnelOptions.html | 2 +- variables/CLOUDFLARED_VERSION.html | 2 +- variables/DEFAULT_CLOUDFLARED_BIN.html | 2 +- variables/MACOS_SERVICE_PATH.html | 2 +- variables/RELEASE_BASE.html | 2 +- variables/bin.html | 2 +- variables/identifier.html | 2 +- variables/service.html | 2 +- 27 files changed, 50 insertions(+), 50 deletions(-) diff --git a/classes/AlreadyInstalledError.html b/classes/AlreadyInstalledError.html index 94ba1fc..ddf3a90 100644 --- a/classes/AlreadyInstalledError.html +++ b/classes/AlreadyInstalledError.html @@ -1,12 +1,12 @@ AlreadyInstalledError | cloudflared

Class AlreadyInstalledError

Throw when service is already installed.

-

Hierarchy

  • Error
    • AlreadyInstalledError

Constructors

Hierarchy

  • Error
    • AlreadyInstalledError

Constructors

Properties

message: string
name: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

+

Constructors

Properties

message: string
name: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

diff --git a/classes/ConfigHandler.html b/classes/ConfigHandler.html index b335210..cad43e7 100644 --- a/classes/ConfigHandler.html +++ b/classes/ConfigHandler.html @@ -1,4 +1,4 @@ -ConfigHandler | cloudflared

Class ConfigHandler<T>

Type Parameters

Hierarchy

  • EventEmitter
    • ConfigHandler

Constructors

constructor +ConfigHandler | cloudflared

Class ConfigHandler<T>

Type Parameters

Hierarchy

  • EventEmitter
    • ConfigHandler

Constructors

Properties

captureRejectionSymbol: typeof captureRejectionSymbol

Value: Symbol.for('nodejs.rejection')

+

Constructors

Properties

captureRejectionSymbol: typeof captureRejectionSymbol

Value: Symbol.for('nodejs.rejection')

See how to write a custom rejection handler.

v13.4.0, v12.16.0

captureRejections: boolean

Value: boolean

@@ -70,7 +70,7 @@

Type Parameters

Parameters

Returns boolean

v0.1.26

-
  • Returns an array listing the events for which the emitter has registered +

  • Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

    import { EventEmitter } from 'node:events';

    const myEE = new EventEmitter();
    myEE.on('foo', () => {});
    myEE.on('bar', () => {});

    const sym = Symbol('symbol');
    myEE.on(sym, () => {});

    console.log(myEE.eventNames());
    // Prints: [ 'foo', 'bar', Symbol(symbol) ]
    @@ -92,7 +92,7 @@

    Type Parameters

    • K

    Parameters

    • eventName: string | symbol

    Returns Function[]

    v0.1.26

  • Adds the listener function to the end of the listeners array for the event +

  • Adds the listener function to the end of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.

    @@ -107,7 +107,7 @@

    Type Parameters

    Parameters

    Returns this

    v0.1.101

    -
  • Adds a one-time listener function for the event named eventName. The +

  • Adds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.

    server.once('connection', (stream) => {
    console.log('Ah, we have our first user!');
    });
    @@ -120,7 +120,7 @@

    Type Parameters

    Parameters

    Returns this

    v0.3.0

    -
  • Adds the listener function to the beginning of the listeners array for the +

  • Adds the listener function to the beginning of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.

    diff --git a/classes/ConnectionHandler.html b/classes/ConnectionHandler.html index c0b8783..a637842 100644 --- a/classes/ConnectionHandler.html +++ b/classes/ConnectionHandler.html @@ -1,2 +1,2 @@ -ConnectionHandler | cloudflared

    Class ConnectionHandler

    Constructors

    Constructors

    +ConnectionHandler | cloudflared

    Class ConnectionHandler

    Constructors

    Constructors

    diff --git a/classes/NotInstalledError.html b/classes/NotInstalledError.html index 7d7b729..245a76d 100644 --- a/classes/NotInstalledError.html +++ b/classes/NotInstalledError.html @@ -1,12 +1,12 @@ NotInstalledError | cloudflared

    Class NotInstalledError

    Throw when service is not installed.

    -

    Hierarchy

    • Error
      • NotInstalledError

    Constructors

    Hierarchy

    • Error
      • NotInstalledError

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    +

    Constructors

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    diff --git a/classes/TryCloudflareHandler.html b/classes/TryCloudflareHandler.html index ce2215a..b73bef5 100644 --- a/classes/TryCloudflareHandler.html +++ b/classes/TryCloudflareHandler.html @@ -1,2 +1,2 @@ -TryCloudflareHandler | cloudflared

    Class TryCloudflareHandler

    Constructors

    Constructors

    +TryCloudflareHandler | cloudflared

    Class TryCloudflareHandler

    Constructors

    Constructors

    diff --git a/classes/Tunnel.html b/classes/Tunnel.html index ba09ff5..9fff5e1 100644 --- a/classes/Tunnel.html +++ b/classes/Tunnel.html @@ -1,4 +1,4 @@ -Tunnel | cloudflared

    Class Tunnel

    Hierarchy

    • EventEmitter
      • Tunnel

    Constructors

    constructor +Tunnel | cloudflared

    Class Tunnel

    Hierarchy

    • EventEmitter
      • Tunnel

    Constructors

    Properties

    stop: (() => boolean) = ...
    captureRejectionSymbol: typeof captureRejectionSymbol

    Value: Symbol.for('nodejs.rejection')

    +

    Constructors

    Properties

    stop: (() => boolean) = ...
    captureRejectionSymbol: typeof captureRejectionSymbol

    Value: Symbol.for('nodejs.rejection')

    See how to write a custom rejection handler.

    v13.4.0, v12.16.0

    captureRejections: boolean

    Value: boolean

    @@ -67,9 +67,9 @@

    Installing a listener using this symbol does not change the behavior once an 'error' event is emitted. Therefore, the process will still crash if no regular 'error' listener is installed.

    v13.6.0, v12.17.0

    -

    Accessors

    Methods

    • Type Parameters

      • K

      Parameters

      • error: Error
      • event: string | symbol
      • Rest...args: AnyRest

      Returns void

    • Add a custom output handler

      +

    Accessors

    Methods

    • Type Parameters

      • K

      Parameters

      • error: Error
      • event: string | symbol
      • Rest...args: AnyRest

      Returns void

    • Add a custom output handler

      Parameters

      Returns void

    • Alias for emitter.on(eventName, listener).

      +

    Returns void

  • Alias for emitter.on(eventName, listener).

    Type Parameters

    • K

    Parameters

    • eventName: string | symbol
    • listener: ((...args: any[]) => void)
        • (...args): void
        • Parameters

          • Rest...args: any[]

          Returns void

    Returns this

    v0.1.26

  • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.

    @@ -78,7 +78,7 @@

    Type Parameters

    Parameters

    Returns boolean

    v0.1.26

    -
  • Returns an array listing the events for which the emitter has registered +

  • Returns an array listing the events for which the emitter has registered listeners. The values in the array are strings or Symbols.

    import { EventEmitter } from 'node:events';

    const myEE = new EventEmitter();
    myEE.on('foo', () => {});
    myEE.on('bar', () => {});

    const sym = Symbol('symbol');
    myEE.on(sym, () => {});

    console.log(myEE.eventNames());
    // Prints: [ 'foo', 'bar', Symbol(symbol) ]
    @@ -100,7 +100,7 @@

    Type Parameters

    • K

    Parameters

    • eventName: string | symbol

    Returns Function[]

    v0.1.26

  • Alias for emitter.removeListener().

    Type Parameters

    Parameters

    Returns this

    v10.0.0

    -
  • Adds the listener function to the end of the listeners array for the event +

  • Adds the listener function to the end of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.

    @@ -115,7 +115,7 @@

    Type Parameters

    Parameters

    Returns this

    v0.1.101

    -
  • Adds a one-time listener function for the event named eventName. The +

  • Adds a one-time listener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.

    server.once('connection', (stream) => {
    console.log('Ah, we have our first user!');
    });
    @@ -128,7 +128,7 @@

    Type Parameters

    Parameters

    Returns this

    v0.3.0

    -
  • Adds the listener function to the beginning of the listeners array for the +

  • Adds the listener function to the beginning of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.

    @@ -162,7 +162,7 @@

    Parameters

    • OptionaleventName: string | symbol

    Returns this

    v0.1.26

  • Remove a previously added output handler

    Parameters

    Returns void

  • Removes the specified listener from the listener array for the event named eventName.

    +

Returns void

  • Removes the specified listener from the listener array for the event named eventName.

    const callback = (stream) => {
    console.log('someone connected!');
    };
    server.on('connection', callback);
    // ...
    server.removeListener('connection', callback);
    @@ -277,7 +277,7 @@
  • Parameters

    • emitter: EventTarget
    • eventName: string
    • Optionaloptions: StaticEventEmitterOptions

    Returns Promise<any[]>

  • Create a quick tunnel without a Cloudflare account.

    Parameters

    • Optionalurl: string

      The local service URL to connect to. If not provided, the hello world mode will be used.

    • options: TunnelOptions = {}

      The options to pass to cloudflared.

      -

    Returns Tunnel

  • import { setMaxListeners, EventEmitter } from 'node:events';

    const target = new EventTarget();
    const emitter = new EventEmitter();

    setMaxListeners(5, target, emitter); +

Returns Tunnel

  • import { setMaxListeners, EventEmitter } from 'node:events';

    const target = new EventTarget();
    const emitter = new EventEmitter();

    setMaxListeners(5, target, emitter);

    Parameters

    • Optionaln: number

      A non-negative number. The maximum number of listeners per EventTarget event.

      @@ -285,4 +285,4 @@
  • Create a tunnel with a Cloudflare account.

    Parameters

    • token: string

      The Cloudflare Tunnel token.

    • options: TunnelOptions = {}

      The options to pass to cloudflared.

      -

    Returns Tunnel

+

Returns Tunnel

diff --git a/functions/build_args.html b/functions/build_args.html index e00696f..63591ea 100644 --- a/functions/build_args.html +++ b/functions/build_args.html @@ -1,4 +1,4 @@ build_args | cloudflared

Function build_args

  • Build the arguments for the cloudflared command.

    Parameters

    Returns string[]

    The arguments for the cloudflared command.

    -
+
diff --git a/functions/build_options.html b/functions/build_options.html index 955e8e6..ba4527e 100644 --- a/functions/build_options.html +++ b/functions/build_options.html @@ -1 +1 @@ -build_options | cloudflared

Function build_options

+build_options | cloudflared

Function build_options

diff --git a/functions/install.html b/functions/install.html index 9130879..feaaeeb 100644 --- a/functions/install.html +++ b/functions/install.html @@ -2,4 +2,4 @@

Parameters

  • to: string

    The path to the binary to install.

  • version: string = CLOUDFLARED_VERSION

    The version of cloudflared to install.

Returns Promise<string>

The path to the binary that was installed.

-
+
diff --git a/functions/install_linux.html b/functions/install_linux.html index e29d46e..a736e1f 100644 --- a/functions/install_linux.html +++ b/functions/install_linux.html @@ -1 +1 @@ -install_linux | cloudflared

Function install_linux

  • Parameters

    • to: string
    • version: string = CLOUDFLARED_VERSION

    Returns Promise<string>

+install_linux | cloudflared

Function install_linux

  • Parameters

    • to: string
    • version: string = CLOUDFLARED_VERSION

    Returns Promise<string>

diff --git a/functions/install_macos.html b/functions/install_macos.html index 8b37feb..5cf230f 100644 --- a/functions/install_macos.html +++ b/functions/install_macos.html @@ -1 +1 @@ -install_macos | cloudflared

Function install_macos

  • Parameters

    • to: string
    • version: string = CLOUDFLARED_VERSION

    Returns Promise<string>

+install_macos | cloudflared

Function install_macos

  • Parameters

    • to: string
    • version: string = CLOUDFLARED_VERSION

    Returns Promise<string>

diff --git a/functions/install_windows.html b/functions/install_windows.html index c477f18..19acf24 100644 --- a/functions/install_windows.html +++ b/functions/install_windows.html @@ -1 +1 @@ -install_windows | cloudflared

Function install_windows

  • Parameters

    • to: string
    • version: string = CLOUDFLARED_VERSION

    Returns Promise<string>

+install_windows | cloudflared

Function install_windows

  • Parameters

    • to: string
    • version: string = CLOUDFLARED_VERSION

    Returns Promise<string>

diff --git a/functions/tunnel-1.html b/functions/tunnel-1.html index 4f1ff3d..45c3c28 100644 --- a/functions/tunnel-1.html +++ b/functions/tunnel-1.html @@ -1,4 +1,4 @@ tunnel | cloudflared

Function tunnel

+
diff --git a/functions/use.html b/functions/use.html index f27b5fa..b90d925 100644 --- a/functions/use.html +++ b/functions/use.html @@ -1,3 +1,3 @@ use | cloudflared

Function use

  • Override the path to the cloudflared binary.

    Parameters

    • executable: string

      The path to the cloudflared executable.

      -

    Returns void

+

Returns void

diff --git a/interfaces/ConfigHandlerEvents.html b/interfaces/ConfigHandlerEvents.html index 35d4057..edc724f 100644 --- a/interfaces/ConfigHandlerEvents.html +++ b/interfaces/ConfigHandlerEvents.html @@ -1,3 +1,3 @@ -ConfigHandlerEvents | cloudflared

Interface ConfigHandlerEvents<T>

interface ConfigHandlerEvents<T> {
    config: ((config: {
        config: T;
        version: number;
    }) => void);
    error: ((error: Error) => void);
}

Type Parameters

  • T

Properties

config +ConfigHandlerEvents | cloudflared

Interface ConfigHandlerEvents<T>

interface ConfigHandlerEvents<T> {
    config: ((config: {
        config: T;
        version: number;
    }) => void);
    error: ((error: Error) => void);
}

Type Parameters

  • T

Properties

Properties

config: ((config: {
    config: T;
    version: number;
}) => void)
error: ((error: Error) => void)
+

Properties

config: ((config: {
    config: T;
    version: number;
}) => void)
error: ((error: Error) => void)
diff --git a/interfaces/Connection.html b/interfaces/Connection.html index 68ea3ef..17060ac 100644 --- a/interfaces/Connection.html +++ b/interfaces/Connection.html @@ -1,4 +1,4 @@ -Connection | cloudflared

Interface Connection

interface Connection {
    id: string;
    ip: string;
    location: string;
}

Properties

id +Connection | cloudflared

Interface Connection

interface Connection {
    id: string;
    ip: string;
    location: string;
}

Properties

Properties

id: string
ip: string
location: string
+

Properties

id: string
ip: string
location: string
diff --git a/interfaces/TunnelConfig.html b/interfaces/TunnelConfig.html index 5459d93..336d723 100644 --- a/interfaces/TunnelConfig.html +++ b/interfaces/TunnelConfig.html @@ -1,3 +1,3 @@ -TunnelConfig | cloudflared

Interface TunnelConfig

interface TunnelConfig {
    ingress: Record<string, string>[];
    warp_routing: {
        enabled: boolean;
    };
}

Properties

ingress +TunnelConfig | cloudflared

Interface TunnelConfig

interface TunnelConfig {
    ingress: Record<string, string>[];
    warp_routing: {
        enabled: boolean;
    };
}

Properties

Properties

ingress: Record<string, string>[]
warp_routing: {
    enabled: boolean;
}
+

Properties

ingress: Record<string, string>[]
warp_routing: {
    enabled: boolean;
}
diff --git a/interfaces/TunnelEvents.html b/interfaces/TunnelEvents.html index 0dc81ec..fd24f83 100644 --- a/interfaces/TunnelEvents.html +++ b/interfaces/TunnelEvents.html @@ -1,8 +1,8 @@ -TunnelEvents | cloudflared

Interface TunnelEvents

interface TunnelEvents {
    connected: ((connection: Connection) => void);
    disconnected: ((connection: Connection) => void);
    error: ((error: Error) => void);
    exit: ((code: null | number, signal: null | Signals) => void);
    stderr: ((data: string) => void);
    stdout: ((data: string) => void);
    url: ((url: string) => void);
}

Properties

connected +TunnelEvents | cloudflared

Interface TunnelEvents

interface TunnelEvents {
    connected: ((connection: Connection) => void);
    disconnected: ((connection: Connection) => void);
    error: ((error: Error) => void);
    exit: ((code: null | number, signal: null | Signals) => void);
    stderr: ((data: string) => void);
    stdout: ((data: string) => void);
    url: ((url: string) => void);
}

Properties

connected: ((connection: Connection) => void)
disconnected: ((connection: Connection) => void)
error: ((error: Error) => void)
exit: ((code: null | number, signal: null | Signals) => void)
stderr: ((data: string) => void)
stdout: ((data: string) => void)
url: ((url: string) => void)
+

Properties

connected: ((connection: Connection) => void)
disconnected: ((connection: Connection) => void)
error: ((error: Error) => void)
exit: ((code: null | number, signal: null | Signals) => void)
stderr: ((data: string) => void)
stdout: ((data: string) => void)
url: ((url: string) => void)
diff --git a/types/OutputHandler.html b/types/OutputHandler.html index f12c776..24dfbf8 100644 --- a/types/OutputHandler.html +++ b/types/OutputHandler.html @@ -1 +1 @@ -OutputHandler | cloudflared

Type Alias OutputHandler

OutputHandler: ((output: string, tunnel: Tunnel) => void)
+OutputHandler | cloudflared

Type Alias OutputHandler

OutputHandler: ((output: string, tunnel: Tunnel) => void)
diff --git a/types/TunnelOptions.html b/types/TunnelOptions.html index 90d9347..772f786 100644 --- a/types/TunnelOptions.html +++ b/types/TunnelOptions.html @@ -1 +1 @@ -TunnelOptions | cloudflared

Type Alias TunnelOptions

TunnelOptions: Record<string, string | number | boolean>
+TunnelOptions | cloudflared

Type Alias TunnelOptions

TunnelOptions: Record<string, string | number | boolean>
diff --git a/variables/CLOUDFLARED_VERSION.html b/variables/CLOUDFLARED_VERSION.html index e0955d7..7b956ac 100644 --- a/variables/CLOUDFLARED_VERSION.html +++ b/variables/CLOUDFLARED_VERSION.html @@ -1 +1 @@ -CLOUDFLARED_VERSION | cloudflared

Variable CLOUDFLARED_VERSIONConst

CLOUDFLARED_VERSION: string = ...
+CLOUDFLARED_VERSION | cloudflared

Variable CLOUDFLARED_VERSIONConst

CLOUDFLARED_VERSION: string = ...
diff --git a/variables/DEFAULT_CLOUDFLARED_BIN.html b/variables/DEFAULT_CLOUDFLARED_BIN.html index 6b116bf..8cec251 100644 --- a/variables/DEFAULT_CLOUDFLARED_BIN.html +++ b/variables/DEFAULT_CLOUDFLARED_BIN.html @@ -1 +1 @@ -DEFAULT_CLOUDFLARED_BIN | cloudflared

Variable DEFAULT_CLOUDFLARED_BINConst

DEFAULT_CLOUDFLARED_BIN: string = ...
+DEFAULT_CLOUDFLARED_BIN | cloudflared

Variable DEFAULT_CLOUDFLARED_BINConst

DEFAULT_CLOUDFLARED_BIN: string = ...
diff --git a/variables/MACOS_SERVICE_PATH.html b/variables/MACOS_SERVICE_PATH.html index 874ff90..d1eb277 100644 --- a/variables/MACOS_SERVICE_PATH.html +++ b/variables/MACOS_SERVICE_PATH.html @@ -1,3 +1,3 @@ MACOS_SERVICE_PATH | cloudflared

Variable MACOS_SERVICE_PATHConst

MACOS_SERVICE_PATH: {
    ERR: string;
    OUT: string;
    PLIST: string;
} = ...

Path of service related files.

macOS

-
+
diff --git a/variables/RELEASE_BASE.html b/variables/RELEASE_BASE.html index 8c85bda..db1738d 100644 --- a/variables/RELEASE_BASE.html +++ b/variables/RELEASE_BASE.html @@ -1 +1 @@ -RELEASE_BASE | cloudflared

Variable RELEASE_BASEConst

RELEASE_BASE: "https://github.com/cloudflare/cloudflared/releases/" = "https://github.com/cloudflare/cloudflared/releases/"
+RELEASE_BASE | cloudflared

Variable RELEASE_BASEConst

RELEASE_BASE: "https://github.com/cloudflare/cloudflared/releases/" = "https://github.com/cloudflare/cloudflared/releases/"
diff --git a/variables/bin.html b/variables/bin.html index 3cd2ba3..76d92e2 100644 --- a/variables/bin.html +++ b/variables/bin.html @@ -1,4 +1,4 @@ bin | cloudflared

Variable bin

bin: string = ...

The path to the cloudflared binary. If the CLOUDFLARED_BIN environment variable is set, it will be used; otherwise, DEFAULT_CLOUDFLARED_BIN will be used. Can be overridden with use.

-
+
diff --git a/variables/identifier.html b/variables/identifier.html index ff58078..3914145 100644 --- a/variables/identifier.html +++ b/variables/identifier.html @@ -1,3 +1,3 @@ identifier | cloudflared

Variable identifierConst

identifier: "com.cloudflare.cloudflared" = "com.cloudflare.cloudflared"

Cloudflared launchd identifier.

macOS

-
+
diff --git a/variables/service.html b/variables/service.html index 6c86fbe..818a245 100644 --- a/variables/service.html +++ b/variables/service.html @@ -27,4 +27,4 @@

macOS, linux (sysv)

  • uninstall: (() => void)
      • (): void
      • Uninstall Cloudflared service.

        Returns void

        macOS, linux

        -
  • +