18 #ifndef NURIA_HTTPTCPTRANSPORT_HPP
19 #define NURIA_HTTPTCPTRANSPORT_HPP
21 #include "httptransport.hpp"
27 class HttpTcpTransportPrivate;
43 Type type ()
const override;
44 bool isSecure ()
const override;
45 QHostAddress localAddress ()
const override;
46 quint16 localPort ()
const override;
47 QHostAddress peerAddress ()
const override;
48 quint16 peerPort ()
const override;
50 bool isSequential ()
const override;
51 bool open (OpenMode mode)
override;
52 void close ()
override;
53 qint64 pos ()
const override;
54 qint64 size ()
const override;
55 bool seek (qint64 pos)
override;
56 bool atEnd ()
const override;
57 bool reset ()
override;
58 qint64 bytesAvailable ()
const override;
59 qint64 bytesToWrite ()
const override;
60 bool canReadLine ()
const override;
61 bool waitForReadyRead (
int msecs)
override;
62 bool waitForBytesWritten (
int msecs)
override;
65 bool flush ()
override;
66 void forceClose ()
override;
69 bool closeSocketWhenBytesWereWritten ();
72 qint64 readData (
char *data, qint64 maxlen)
override;
73 qint64 readLineData (
char *data, qint64 maxlen)
override;
74 qint64 writeData (
const char *data, qint64 len)
override;
77 HttpTcpTransportPrivate *d_ptr;
83 #endif // NURIA_HTTPTCPTRANSPORT_HPP
HttpClient transport for TCP with or without SSL connections.
Definition: httptcptransport.hpp:32
Type
Definition: httptransport.hpp:40
Abstract data transport for HttpClient.
Definition: httptransport.hpp:34