|
RestLink 2.2.0
Powerfull Rest Client for Qt
|
Helper class to manage a file intended for request body usage. More...
#include <body.h>
Public Member Functions | |
| File (const char *fileName) | |
| Constructs a File from a file path. | |
| File (const QString &fileName) | |
| Constructs a File from a file path. | |
| File (const File &other)=default | |
| QFile * | open () const |
| Opens the file and returns a QFile pointer. | |
Helper class to manage a file intended for request body usage.
The File class encapsulates a file path and provides an interface to open the file for reading, typically used in constructing a Body.
|
inline |
|
inline |
|
default |
| QFile * RestLink::File::open | ( | ) | const |
Opens the file and returns a QFile pointer.