Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qabstractprotocolhandler.cpp
Go to the documentation of this file.
1
// Copyright (C) 2014 BlackBerry Limited. All rights reserved.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
include
<
private
/
qabstractprotocolhandler_p
.
h
>
6
#
include
<
private
/
qhttpnetworkconnectionchannel_p
.
h
>
7
8
QT_BEGIN_NAMESPACE
9
10
QAbstractProtocolHandler::QAbstractProtocolHandler(QHttpNetworkConnectionChannel *channel)
11
: m_channel(channel), m_reply(
nullptr
), m_socket(m_channel->socket), m_connection(m_channel->connection)
12
{
13
Q_ASSERT(m_channel);
14
Q_ASSERT(m_socket);
15
Q_ASSERT(m_connection);
16
}
17
18
QAbstractProtocolHandler::~QAbstractProtocolHandler()
19
{
20
}
21
22
void
QAbstractProtocolHandler::setReply(QHttpNetworkReply *reply)
23
{
24
m_reply = reply;
25
}
26
27
QT_END_NAMESPACE
qtbase
src
network
access
qabstractprotocolhandler.cpp
Generated on
for Qt by
1.14.0