libktorrent  2.1.1
Public Member Functions | List of all members
bt::HTTPAnnounceJob Class Reference

#include <httpannouncejob.h>

Inheritance diagram for bt::HTTPAnnounceJob:
Inheritance graph
[legend]

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 ()
 

Detailed Description

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.

Member Function Documentation

◆ setProxy()

void bt::HTTPAnnounceJob::setProxy ( const QString &  host,
int  port 
)

Set the proxy to use.

Parameters
hostThe proxy hostname or IP
portThe port of the proxy

The documentation for this class was generated from the following file: