libktorrent
2.2.0
|
#include <httpannouncejob.h>
Public Member Functions | |
HTTPAnnounceJob (const QUrl &url) | |
QUrl | announceUrl () const |
Get the announce url. | |
virtual void | kill (bool quietly=true) |
const QByteArray & | replyData () const |
Get the reply data. | |
void | setProxy (const QString &host, int port) |
virtual void | start () |
KIO::Job which uses QHttp to announce to a tracker. This was added because KIO doesn't handle the (invalid)http of some trackers in a consistent manner.
Definition at line 34 of file httpannouncejob.h.
void bt::HTTPAnnounceJob::setProxy | ( | const QString & | host, |
int | port | ||
) |
Set the proxy to use.
host | The proxy hostname or IP |
port | The port of the proxy |