![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <http2frames_p.h>
Public Types | |
using | payload_type = std::vector<uchar> |
using | size_type = payload_type::size_type |
Public Member Functions | |
FrameWriter () | |
FrameWriter (FrameType type, FrameFlags flags, quint32 streamID) | |
Frame & | outboundFrame () |
void | setOutboundFrame (Frame &&newFrame) |
void | start (FrameType type, FrameFlags flags, quint32 streamID) |
void | setPayloadSize (quint32 size) |
void | setType (FrameType type) |
void | setFlags (FrameFlags flags) |
void | addFlag (FrameFlag flag) |
template<typename ValueType> | |
void | append (ValueType val) |
void | append (uchar val) |
void | append (Settings identifier) |
void | append (const payload_type &payload) |
void | append (QByteArrayView payload) |
void | append (const uchar *begin, const uchar *end) |
bool | write (QIODevice &socket) const |
bool | writeHEADERS (QIODevice &socket, quint32 sizeLimit) |
bool | writeDATA (QIODevice &socket, quint32 sizeLimit, const uchar *src, quint32 size) |
Definition at line 81 of file http2frames_p.h.
using Http2::FrameWriter::payload_type = std::vector<uchar> |
Definition at line 84 of file http2frames_p.h.
using Http2::FrameWriter::size_type = payload_type::size_type |
Definition at line 85 of file http2frames_p.h.
Http2::FrameWriter::FrameWriter | ( | ) |
Definition at line 322 of file http2frames.cpp.
Definition at line 326 of file http2frames.cpp.
Definition at line 377 of file http2frames.cpp.
|
inline |
Definition at line 121 of file http2frames_p.h.
Definition at line 382 of file http2frames.cpp.
|
inline |
Definition at line 125 of file http2frames_p.h.
Definition at line 117 of file http2frames_p.h.
Definition at line 112 of file http2frames_p.h.
|
inline |
Definition at line 106 of file http2frames_p.h.
|
inline |
Definition at line 90 of file http2frames_p.h.
void Http2::FrameWriter::setFlags | ( | FrameFlags | flags | ) |
Definition at line 371 of file http2frames.cpp.
Definition at line 331 of file http2frames.cpp.
Definition at line 353 of file http2frames.cpp.
Definition at line 365 of file http2frames.cpp.
Definition at line 337 of file http2frames.cpp.
bool Http2::FrameWriter::write | ( | QIODevice & | socket | ) | const |
Definition at line 398 of file http2frames.cpp.
bool Http2::FrameWriter::writeDATA | ( | QIODevice & | socket, |
quint32 | sizeLimit, | ||
const uchar * | src, | ||
quint32 | size ) |
Definition at line 462 of file http2frames.cpp.
Definition at line 412 of file http2frames.cpp.