KDECore
k3httpproxysocketdevice.cpp
Go to the documentation of this file.
virtual qint64 writeData(const char *data, qint64 len, const KSocketAddress *to=0L)
Writes the given data to the given destination address.
Definition: k3socketdevice.cpp:536
const KResolverEntry & proxyServer() const
Retrieves the proxy server address.
Definition: k3httpproxysocketdevice.cpp:82
KHttpProxySocketDevice(const KSocketBase *=0L)
Constructor.
Definition: k3httpproxysocketdevice.cpp:57
void resetError()
Resets the socket error code and the I/O Device's status.
Definition: k3socketbase.cpp:441
virtual bool connect(const KResolverEntry &address, OpenMode mode=ReadWrite)
Connect to a remote host.
Definition: k3socketdevice.cpp:345
virtual QString nodeName() const
Returns the node name of this socket.
Definition: k3socketaddress.cpp:560
virtual bool connect(const KResolverEntry &address)
Overrides connection.
Definition: k3httpproxysocketdevice.cpp:111
virtual void close()
bool getChar(char *c)
void resize(int size)
int indexOf(char ch, int from) const
static KResolverEntry defaultProxy
This is the default proxy server to be used.
Definition: k3httpproxysocketdevice.h:118
virtual KSocketAddress peerAddress() const
Return the peer address.
Definition: k3httpproxysocketdevice.cpp:99
The low-level backend for HTTP proxying.
Definition: k3httpproxysocketdevice.h:44
Definition: k3socketbase.h:145
bool isEmpty() const
virtual qint64 readData(char *data, qint64 maxlen, KSocketAddress *from=0L)
Reads data and the source address from this socket.
Definition: k3socketdevice.cpp:494
virtual qint64 peekData(char *data, qint64 maxlen, KSocketAddress *from=0L)
Peeks the data in the socket and the source address.
Definition: k3socketdevice.cpp:515
bool isOpen() const
QByteArray mid(int pos, int len) const
virtual QString serviceName() const
Returns the service name for this socket.
Definition: k3socketaddress.cpp:586
KSocketAddress address() const
Retrieves the socket address associated with this entry.
Definition: k3resolver.cpp:135
bool contains(QChar ch, Qt::CaseSensitivity cs) const
void setProxyServer(const KResolverEntry &proxy)
Sets the proxy server address.
Definition: k3httpproxysocketdevice.cpp:87
QByteArray toLatin1() const
char * data()
virtual KSocketAddress externalAddress() const
Return the externally visible address.
Definition: k3httpproxysocketdevice.cpp:106
int state() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
virtual qint64 bytesAvailable() const
Returns the number of bytes available for reading without blocking.
Definition: k3socketdevice.cpp:439
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.