Amp\Artax\FileBody::__construct PHP Method

__construct() public method

public __construct ( string $path )
$path string The filesystem path for the file we wish to send
    public function __construct($path)
    {
        $this->path = (string) $path;
    }