|
| | HttpParser (QByteArray &httpMessage) |
| | This constructor receives a HTTP message and parses it. More...
|
| |
| qint64 | getContentLenght () const noexcept |
| | Returns the content lenght. More...
|
| |
| QByteArray | getContentType () const noexcept |
| | Returns the content type. More...
|
| |
| QByteArray | getHttpVersion () const noexcept |
| | Returns the HTTP version. More...
|
| |
| QByteArray | getMethod () const noexcept |
| | Returns HTTP method. More...
|
| |
| QByteArray | getBody () const noexcept |
| | Returns HTTP body message. More...
|
| |
| QByteArray | getSessionId () const noexcept |
| | Returns session id. More...
|
| |
| QByteArray | getUrl () const noexcept |
| | Returns the url. More...
|
| |
| QByteArray | getParameter (const QByteArray &name) const noexcept |
| | Returns a specific parameter given a name. If the parameter name does not exists, the function returns defaultValue. If no defaultValue is specified, the function returns a default-constructed value. If there are multiple parameters with a name, the value of the most recently inserted one is returned. More...
|
| |
| QByteArrayList | getParameters (const QByteArray &name) const noexcept |
| | Returns all parameters with a specific name. More...
|
| |
| QMultiMap< QByteArray, QByteArray > | getParameters () const noexcept |
| | Returns all parameters. More...
|
| |
| QMultiMap< QByteArray, QByteArray > | getUploadedFiles () const noexcept |
| | Returns all uploaded files. More...
|
| |
| QVector< QNetworkCookie > | getCookies () const noexcept |
| | Returns all cookies. More...
|
| |
| QByteArrayList | getHeaderFields (const QByteArray &name) const noexcept |
| | Returns all header fields given a specific name. More...
|
| |
| QByteArray | getHeaderField (const QByteArray &name) const noexcept |
| | Returns a specific header field given a name. If the header field name does not exists, the function returns defaultValue. If no defaultValue is specified, the function returns a default-constructed value. If there are multiple header field with a name, the value of the most recently inserted one is returned. More...
|
| |
| bool | isValid () const noexcept |
| | Returns true if HTTP is valid, else it returns false. More...
|
| |
| bool | isMultiPart () const noexcept |
| | Returns the multi part. More...
|
| |
| bool | getReadFile () const noexcept |
| | Returns true if all message was read. More...
|
| |
The class parses a HTTP message.