![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
| QFormDataPartBuilderPrivate (QAnyStringView namename) | |
| QHttpPart | build (QFormDataBuilder::Options options) |
| QFormDataPartBuilderPrivate (QAnyStringView namename) | |
| QHttpPart | build (QFormDataBuilder::Options options) |
Public Attributes | |
| QString | m_name |
| QByteArray | m_mimeType |
| QString | m_originalBodyName |
| QHttpHeaders | m_httpHeaders |
| std::variant< QIODevice *, QByteArray > | m_body |
Definition at line 35 of file qformdatabuilder.cpp.
|
explicit |
Definition at line 48 of file qformdatabuilder.cpp.
|
explicit |
| QHttpPart QFormDataPartBuilderPrivate::build | ( | QFormDataBuilder::Options | options | ) |
Generates a QHttpPart and sets the content disposition header as form-data.
When this function called, it uses the MIME database to deduce the type the body based on its name and then sets the deduced type as the content type header.
Definition at line 265 of file qformdatabuilder.cpp.
| QHttpPart QFormDataPartBuilderPrivate::build | ( | QFormDataBuilder::Options | options | ) |
| std::variant< QIODevice *, QByteArray > QFormDataPartBuilderPrivate::m_body |
Definition at line 45 of file qformdatabuilder.cpp.
| QHttpHeaders QFormDataPartBuilderPrivate::m_httpHeaders |
Definition at line 44 of file qformdatabuilder.cpp.
| QByteArray QFormDataPartBuilderPrivate::m_mimeType |
Definition at line 42 of file qformdatabuilder.cpp.
| QString QFormDataPartBuilderPrivate::m_name |
Definition at line 41 of file qformdatabuilder.cpp.
| QString QFormDataPartBuilderPrivate::m_originalBodyName |
Definition at line 43 of file qformdatabuilder.cpp.