\App\GatewayModule\ModelsNativeUploadManager

IQRF TR native upload manager

Summary

Methods
Properties
Constants
__construct()
upload()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\App\GatewayModule\Models\GenericManager  configManager, \App\GatewayModule\Models\UploadManager  uploadManager) : 

Constructor

Parameters

\App\GatewayModule\Models\GenericManager configManager

Generic configuration manager

\App\GatewayModule\Models\UploadManager uploadManager

IQRF TR native upload manager

Returns

upload()

upload(\App\GatewayModule\Models\FileUpload  file, \App\GatewayModule\Models\UploadFormats|null  format = null) : 

Uploads the file into IQRF TR module

Parameters

\App\GatewayModule\Models\FileUpload file

File to upload

\App\GatewayModule\Models\UploadFormats|null format

File format

Throws

\App\GatewayModule\Models\CorruptedFileException
\App\GatewayModule\Models\DpaErrorException
\App\GatewayModule\Models\EmptyResponseException
\App\GatewayModule\Models\JsonException
\App\GatewayModule\Models\UserErrorException

Returns