Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSocketAbstraction Namespace Reference

Functions

template<typename Fn , typename... Args>
auto visit (Fn &&fn, QIODevice *socket, Args &&...args)
 
QAbstractSocket::SocketState socketState (QIODevice *device)
 
QAbstractSocket::SocketError socketError (QIODevice *device)
 
QString socketPeerName (QIODevice *device)
 

Function Documentation

◆ socketError()

QAbstractSocket::SocketError QSocketAbstraction::socketError ( QIODevice * device)
inline

Definition at line 59 of file qsocketabstraction_p.h.

References device, and visit().

Referenced by QHttpProtocolHandler::_q_readyRead().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ socketPeerName()

QString QSocketAbstraction::socketPeerName ( QIODevice * device)
inline

Definition at line 74 of file qsocketabstraction_p.h.

References device, and visit().

Referenced by QHttpNetworkConnectionPrivate::errorDetail().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ socketState()

QAbstractSocket::SocketState QSocketAbstraction::socketState ( QIODevice * device)
inline

Definition at line 43 of file qsocketabstraction_p.h.

References device, and visit().

Referenced by QHttpNetworkConnectionChannel::_q_error(), QHttpProtocolHandler::_q_readyRead(), QHttpProtocolHandler::_q_receiveReply(), QHttpNetworkConnectionPrivate::_q_startNextRequest(), QHttpNetworkConnectionChannel::abort(), QHttpNetworkConnectionChannel::allDone(), QHttpNetworkConnectionChannel::close(), QHttpNetworkConnectionChannel::detectPipeliningSupport(), QHttpNetworkConnectionChannel::ensureConnection(), and QHttpNetworkConnectionPrivate::fillPipeline().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ visit()

template<typename Fn , typename... Args>
auto QSocketAbstraction::visit ( Fn && fn,
QIODevice * socket,
Args &&... args )

Definition at line 31 of file qsocketabstraction_p.h.

References args, and socket.

Referenced by QHttpNetworkConnectionChannel::abort(), QHttpNetworkConnectionChannel::init(), socketError(), socketPeerName(), and socketState().

+ Here is the caller graph for this function: