|
QGroundControl
Ground Control Station for MAVLink Drones
|
Private transport parser; buffers framing, never correction payloads. More...
#include <NTRIPHttpCodec.h>
Classes | |
| struct | Result |
| struct | Status |
Public Member Functions | |
| NTRIPHttpDecoder (NTRIPHttpPurpose purpose=NTRIPHttpPurpose::Corrections) | |
| void | reset () |
| Result | feed (QByteArrayView bytes, const QDateTime &utcNow) |
| Result | finish () |
| bool | awaitingErrorBody () const |
Static Public Member Functions | |
| static Status | parseStatusLine (QByteArrayView line) |
Static Public Attributes | |
| static constexpr qsizetype | MAX_HEADER_BYTES = 32768 |
| static constexpr qsizetype | MAX_LINE_BYTES = 8192 |
| static constexpr quint64 | MAX_CHUNK_BYTES = 16 * 1024 * 1024 |
| static constexpr qsizetype | MAX_ERROR_BODY_BYTES = 500 |
| static constexpr qsizetype | MAX_ERROR_PREVIEW_CHARS = 200 |
Private transport parser; buffers framing, never correction payloads.
Definition at line 31 of file NTRIPHttpCodec.h.
|
inlineexplicit |
Definition at line 34 of file NTRIPHttpCodec.h.
|
inline |
Definition at line 63 of file NTRIPHttpCodec.h.
Referenced by NTRIPHttpSession::awaitingErrorBody().
| NTRIPHttpDecoder::Result NTRIPHttpDecoder::feed | ( | QByteArrayView | bytes, |
| const QDateTime & | utcNow | ||
| ) |
Definition at line 145 of file NTRIPHttpCodec.cc.
References NTRIPHttpDecoder::Result::body, NTRIPHttpDecoder::Result::complete, MAX_ERROR_BODY_BYTES, MAX_HEADER_BYTES, and MAX_LINE_BYTES.
| NTRIPHttpDecoder::Result NTRIPHttpDecoder::finish | ( | ) |
Definition at line 387 of file NTRIPHttpCodec.cc.
References NTRIPHttpDecoder::Result::complete.
|
static |
Definition at line 99 of file NTRIPHttpCodec.cc.
| void NTRIPHttpDecoder::reset | ( | ) |
Definition at line 94 of file NTRIPHttpCodec.cc.
|
staticconstexpr |
Definition at line 40 of file NTRIPHttpCodec.h.
|
staticconstexpr |
Definition at line 41 of file NTRIPHttpCodec.h.
Referenced by feed().
|
staticconstexpr |
Definition at line 42 of file NTRIPHttpCodec.h.
|
staticconstexpr |
Definition at line 38 of file NTRIPHttpCodec.h.
Referenced by feed().
|
staticconstexpr |
Definition at line 39 of file NTRIPHttpCodec.h.
Referenced by feed().