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
Http2::Stream Struct Reference

#include <http2streams_p.h>

+ Collaboration diagram for Http2::Stream:

Public Types

enum  StreamState {
  idle , open , halfClosedLocal , halfClosedRemote ,
  remoteReserved , closed
}
 

Public Member Functions

 Stream ()
 
 Stream (const HttpMessagePair &message, quint32 streamID, qint32 sendSize, qint32 recvSize)
 
 Stream (const QString &key, quint32 streamID, qint32 recvSize)
 
QHttpNetworkReplyreply () const
 
const QHttpNetworkRequestrequest () const
 
QHttpNetworkRequestrequest ()
 
QHttpNetworkRequest::Priority priority () const
 
uchar weight () const
 
QNonContiguousByteDevicedata () const
 

Public Attributes

HttpMessagePair httpPair
 
quint32 streamID = 0
 
qint32 sendWindow = 65535
 
qint32 recvWindow = 65535
 
StreamState state = idle
 
QString key
 

Detailed Description

Definition at line 38 of file http2streams_p.h.

Member Enumeration Documentation

◆ StreamState

Enumerator
idle 
open 
halfClosedLocal 
halfClosedRemote 
remoteReserved 
closed 

Definition at line 40 of file http2streams_p.h.

Constructor & Destructor Documentation

◆ Stream() [1/3]

Http2::Stream::Stream ( )

Definition at line 16 of file http2streams.cpp.

◆ Stream() [2/3]

Http2::Stream::Stream ( const HttpMessagePair & message,
quint32 streamID,
qint32 sendSize,
qint32 recvSize )

Definition at line 20 of file http2streams.cpp.

◆ Stream() [3/3]

Http2::Stream::Stream ( const QString & key,
quint32 streamID,
qint32 recvSize )

Definition at line 28 of file http2streams.cpp.

Member Function Documentation

◆ data()

QNonContiguousByteDevice * Http2::Stream::data ( ) const

Definition at line 70 of file http2streams.cpp.

References httpPair.

◆ priority()

QHttpNetworkRequest::Priority Http2::Stream::priority ( ) const

Definition at line 52 of file http2streams.cpp.

References httpPair, and QHttpNetworkRequest::priority().

Referenced by weight().

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

◆ reply()

QHttpNetworkReply * Http2::Stream::reply ( ) const

Definition at line 37 of file http2streams.cpp.

References httpPair.

◆ request() [1/2]

QHttpNetworkRequest & Http2::Stream::request ( )

Definition at line 47 of file http2streams.cpp.

References httpPair.

◆ request() [2/2]

const QHttpNetworkRequest & Http2::Stream::request ( ) const

Definition at line 42 of file http2streams.cpp.

References httpPair.

◆ weight()

uchar Http2::Stream::weight ( ) const

Definition at line 57 of file http2streams.cpp.

References QHttpNetworkRequest::HighPriority, QHttpNetworkRequest::LowPriority, QHttpNetworkRequest::NormalPriority, and priority().

+ Here is the call graph for this function:

Member Data Documentation

◆ httpPair

HttpMessagePair Http2::Stream::httpPair

Definition at line 64 of file http2streams_p.h.

Referenced by data(), priority(), reply(), request(), and request().

◆ key

QString Http2::Stream::key

Definition at line 71 of file http2streams_p.h.

◆ recvWindow

qint32 Http2::Stream::recvWindow = 65535

Definition at line 68 of file http2streams_p.h.

◆ sendWindow

qint32 Http2::Stream::sendWindow = 65535

Definition at line 67 of file http2streams_p.h.

◆ state

StreamState Http2::Stream::state = idle

Definition at line 70 of file http2streams_p.h.

◆ streamID

quint32 Http2::Stream::streamID = 0

Definition at line 65 of file http2streams_p.h.


The documentation for this struct was generated from the following files: