public function uploadFromStream($path, $resource, array $params = [])
    {
        return $this->uploader->upload($this->api, $this->absolutePath($path), $resource, $params, false);
    }
public function uploadFromStream($path, $resource, array $params = [])
    {
        return $this->uploader->upload($this->api, $this->absolutePath($path), $resource, $params, false);
    }
public function uploadFromStream ( $ path , $ resource , array $ params = [ ] ) { return $ this -> uploader -> upload ( $ this -> api , $ this -> absolutePath ( $ path ) , $ resource , $ params , false ) ; }
Uploads file from stream. Returns ETag header value if upload was successful.

@param string   $path     Remote path.
@param resource $resource Stream resource.
@param array    $params   = [] Upload params.

@throws \ArgentCrusade\Selectel\CloudStorage\Exceptions\UploadFailedException

@return string
Uploads file from stream . Returns ETag header value if upload was successful .