Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

int QHttp::setProxy ( const QString host,
int  port,
const QString username = QString(),
const QString password = QString() 
)

Enables proxy support, using the proxy server host on port port. username and password can be provided if the proxy server requires authentication.

Definition at line 1975 of file qhttp.cpp.

{
    Q_D(QHttp);
    return d->addRequest(new QHttpSetProxyRequest(host, port, username, password));
}


Generated by  Doxygen 1.6.0   Back to index