NAME
Qt::Network::QHttp
PUBLIC METHODS
- QHttp(QObject * parent = 0)
- QHttp(QObject * parent)
- QHttp(const QString & hostname, quint16 port, QObject * parent = 0)
- QHttp(const QString & hostname, quint16 port, QObject * parent)
- QHttp(const QString & hostname, quint16 port = 80, QObject * parent = 0)
- QHttp(const QString & hostname, quint16 port, QObject * parent = 0)
- QHttp(const QString & hostname, QHttp::ConnectionMode mode, quint16 port, QObject * parent = 0)
- QHttp(const QString & hostname, QHttp::ConnectionMode mode, quint16 port, QObject * parent)
- QHttp(const QString & hostname, QHttp::ConnectionMode mode, quint16 port = 0, QObject * parent = 0)
- QHttp(const QString & hostname, QHttp::ConnectionMode mode, quint16 port, QObject * parent = 0)
- ~QHttp()
- void abort()
- qint64 bytesAvailable()
- void clearPendingRequests()
- int close()
- int closeConnection()
- QIODevice * currentDestinationDevice()
- int currentId()
- QHttpRequestHeader currentRequest()
- QIODevice * currentSourceDevice()
- QHttp::Error error()
- QString errorString()
- int get(const QString & path, QIODevice * to = 0)
- int get(const QString & path, QIODevice * to)
- bool hasPendingRequests()
- int head(const QString & path)
- void ignoreSslErrors()
- QHttpResponseHeader lastResponse()
- int post(const QString & path, QIODevice * data, QIODevice * to = 0)
- int post(const QString & path, QIODevice * data, QIODevice * to)
- int post(const QString & path, const QByteArray & data, QIODevice * to = 0)
- int post(const QString & path, const QByteArray & data, QIODevice * to)
- qint64 read(char * data, qint64 maxlen)
- QByteArray readAll()
- int request(const QHttpRequestHeader & header, QIODevice * device, QIODevice * to = 0)
- int request(const QHttpRequestHeader & header, QIODevice * device, QIODevice * to)
- int request(const QHttpRequestHeader & header, QIODevice * device = 0, QIODevice * to = 0)
- int request(const QHttpRequestHeader & header, QIODevice * device, QIODevice * to = 0)
- int request(const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0)
- int request(const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to)
- int setHost(const QString & hostname, quint16 port = 80)
- int setHost(const QString & hostname, quint16 port)
- int setHost(const QString & hostname, QHttp::ConnectionMode mode, quint16 port = 0)
- int setHost(const QString & hostname, QHttp::ConnectionMode mode, quint16 port)
- int setProxy(const QNetworkProxy & proxy)
- int setProxy(const QString & host, int port, const QString & username, const QString & password = QString())
- int setProxy(const QString & host, int port, const QString & username, const QString & password)
- int setProxy(const QString & host, int port, const QString & username = QString(), const QString & password = QString())
- int setProxy(const QString & host, int port, const QString & username, const QString & password = QString())
- int setSocket(QTcpSocket * socket)
- int setUser(const QString & username, const QString & password = QString())
- int setUser(const QString & username, const QString & password)
- QHttp::State state()
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.