2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_NETWORK_GEN_QHTTP2CONFIGURATION_H
|
|
|
|
#define MIQT_QT_NETWORK_GEN_QHTTP2CONFIGURATION_H
|
2024-11-04 22:53:04 +13:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#include "../../libmiqt/libmiqt.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QHttp2Configuration;
|
|
|
|
#else
|
|
|
|
typedef struct QHttp2Configuration QHttp2Configuration;
|
|
|
|
#endif
|
|
|
|
|
2024-12-07 17:15:57 +13:00
|
|
|
QHttp2Configuration* QHttp2Configuration_new();
|
|
|
|
QHttp2Configuration* QHttp2Configuration_new2(QHttp2Configuration* other);
|
2025-02-01 13:45:16 +13:00
|
|
|
void QHttp2Configuration_operatorAssign(QHttp2Configuration* self, QHttp2Configuration* other);
|
|
|
|
void QHttp2Configuration_setServerPushEnabled(QHttp2Configuration* self, bool enable);
|
|
|
|
bool QHttp2Configuration_serverPushEnabled(const QHttp2Configuration* self);
|
|
|
|
void QHttp2Configuration_setHuffmanCompressionEnabled(QHttp2Configuration* self, bool enable);
|
|
|
|
bool QHttp2Configuration_huffmanCompressionEnabled(const QHttp2Configuration* self);
|
|
|
|
bool QHttp2Configuration_setSessionReceiveWindowSize(QHttp2Configuration* self, unsigned int size);
|
|
|
|
unsigned int QHttp2Configuration_sessionReceiveWindowSize(const QHttp2Configuration* self);
|
|
|
|
bool QHttp2Configuration_setStreamReceiveWindowSize(QHttp2Configuration* self, unsigned int size);
|
|
|
|
unsigned int QHttp2Configuration_streamReceiveWindowSize(const QHttp2Configuration* self);
|
|
|
|
bool QHttp2Configuration_setMaxFrameSize(QHttp2Configuration* self, unsigned int size);
|
|
|
|
unsigned int QHttp2Configuration_maxFrameSize(const QHttp2Configuration* self);
|
|
|
|
void QHttp2Configuration_swap(QHttp2Configuration* self, QHttp2Configuration* other);
|
|
|
|
void QHttp2Configuration_delete(QHttp2Configuration* self);
|
2024-11-04 22:53:04 +13:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-11-04 22:53:04 +13:00
|
|
|
|
|
|
|
#endif
|