7 #include <Cutelyst/Server/cutelyst_server_export.h>
134 Q_PROPERTY(
QString application READ application WRITE setApplication NOTIFY changed)
135 void setApplication(
const QString &application);
150 Q_PROPERTY(
QString threads READ threads WRITE setThreads NOTIFY changed)
151 void setThreads(
const QString &threads);
159 Q_PROPERTY(
QString processes READ processes WRITE setProcesses NOTIFY changed)
160 void setProcesses(
const QString &process);
167 Q_PROPERTY(
QString chdir READ chdir WRITE setChdir NOTIFY changed)
168 void setChdir(
const QString &chdir);
175 Q_PROPERTY(
QStringList http_socket READ httpSocket WRITE setHttpSocket NOTIFY changed)
183 Q_PROPERTY(
QStringList http2_socket READ http2Socket WRITE setHttp2Socket NOTIFY changed)
184 void setHttp2Socket(
const QStringList &http2Socket);
191 Q_PROPERTY(quint32 http2_header_table_size READ http2HeaderTableSize WRITE
192 setHttp2HeaderTableSize NOTIFY changed)
193 void setHttp2HeaderTableSize(quint32 headerTableSize);
194 [[nodiscard]] quint32 http2HeaderTableSize()
const;
201 Q_PROPERTY(
bool upgrade_h2c READ upgradeH2c WRITE setUpgradeH2c NOTIFY changed)
202 void setUpgradeH2c(
bool enable);
203 [[nodiscard]]
bool upgradeH2c()
const;
210 Q_PROPERTY(
bool https_h2 READ httpsH2 WRITE setHttpsH2 NOTIFY changed)
211 void setHttpsH2(
bool enable);
212 [[nodiscard]]
bool httpsH2()
const;
218 Q_PROPERTY(
QStringList https_socket READ httpsSocket WRITE setHttpsSocket NOTIFY changed)
219 void setHttpsSocket(
const QStringList &httpsSocket);
226 Q_PROPERTY(
QStringList fastcgi_socket READ fastcgiSocket WRITE setFastcgiSocket NOTIFY changed)
227 void setFastcgiSocket(
const QStringList &fastcgiSocket);
234 Q_PROPERTY(
QString socket_access READ socketAccess WRITE setSocketAccess NOTIFY changed)
235 void setSocketAccess(
const QString &socketAccess);
243 Q_PROPERTY(
int socket_timeout READ socketTimeout WRITE setSocketTimeout NOTIFY changed)
244 void setSocketTimeout(
int timeout);
245 [[nodiscard]]
int socketTimeout()
const;
251 Q_PROPERTY(
QString chdir2 READ chdir2 WRITE setChdir2 NOTIFY changed)
252 void setChdir2(
const QString &chdir2);
272 Q_PROPERTY(
QStringList ini READ ini WRITE setIni NOTIFY changed)
299 Q_PROPERTY(
QStringList json READ json WRITE setJson NOTIFY changed)
316 Q_PROPERTY(
QStringList static_map READ staticMap WRITE setStaticMap NOTIFY changed)
333 Q_PROPERTY(
QStringList static_map2 READ staticMap2 WRITE setStaticMap2 NOTIFY changed)
342 Q_PROPERTY(
bool master READ master WRITE setMaster NOTIFY changed)
343 void setMaster(
bool enable);
344 [[nodiscard]]
bool master()
const;
350 Q_PROPERTY(
bool auto_reload READ autoReload WRITE setAutoReload NOTIFY changed)
351 void setAutoReload(
bool enable);
352 [[nodiscard]]
bool autoReload()
const;
358 Q_PROPERTY(
QStringList touch_reload READ touchReload WRITE setTouchReload NOTIFY changed)
369 Q_PROPERTY(
int listen READ listenQueue WRITE setListenQueue NOTIFY changed)
370 void setListenQueue(
int size);
371 [[nodiscard]]
int listenQueue()
const;
378 Q_PROPERTY(
int buffer_size READ bufferSize WRITE setBufferSize NOTIFY changed)
379 void setBufferSize(
int size);
380 [[nodiscard]]
int bufferSize()
const;
388 Q_PROPERTY(qint64 post_buffering READ postBuffering WRITE setPostBuffering NOTIFY changed)
389 void setPostBuffering(qint64 size);
390 [[nodiscard]] qint64 postBuffering()
const;
397 Q_PROPERTY(qint64 post_buffering_bufsize READ postBufferingBufsize WRITE setPostBufferingBufsize
399 void setPostBufferingBufsize(qint64 size);
400 [[nodiscard]] qint64 postBufferingBufsize()
const;
406 Q_PROPERTY(
bool tcp_nodelay READ tcpNodelay WRITE setTcpNodelay NOTIFY changed)
407 void setTcpNodelay(
bool enable);
408 [[nodiscard]]
bool tcpNodelay()
const;
414 Q_PROPERTY(
bool so_keepalive READ soKeepalive WRITE setSoKeepalive NOTIFY changed)
415 void setSoKeepalive(
bool enable);
416 [[nodiscard]]
bool soKeepalive()
const;
424 Q_PROPERTY(
int socket_sndbuf READ socketSndbuf WRITE setSocketSndbuf NOTIFY changed)
425 void setSocketSndbuf(
int value);
426 [[nodiscard]]
int socketSndbuf()
const;
434 Q_PROPERTY(
int socket_rcvbuf READ socketRcvbuf WRITE setSocketRcvbuf NOTIFY changed)
435 void setSocketRcvbuf(
int value);
436 [[nodiscard]]
int socketRcvbuf()
const;
443 int websocket_max_size READ websocketMaxSize WRITE setWebsocketMaxSize NOTIFY changed)
444 void setWebsocketMaxSize(
int value);
445 [[nodiscard]]
int websocketMaxSize()
const;
451 Q_PROPERTY(
QString pidfile READ pidfile WRITE setPidfile NOTIFY changed)
452 void setPidfile(
const QString &file);
459 Q_PROPERTY(
QString pidfile2 READ pidfile2 WRITE setPidfile2 NOTIFY changed)
460 void setPidfile2(
const QString &file);
468 Q_PROPERTY(
QString uid READ uid WRITE setUid NOTIFY changed)
469 void setUid(
const QString &uid);
477 Q_PROPERTY(
QString gid READ gid WRITE setGid NOTIFY changed)
478 void setGid(
const QString &gid);
486 Q_PROPERTY(
bool no_initgroups READ noInitgroups WRITE setNoInitgroups NOTIFY changed)
487 void setNoInitgroups(
bool enable);
488 [[nodiscard]]
bool noInitgroups()
const;
495 Q_PROPERTY(
QString chown_socket READ chownSocket WRITE setChownSocket NOTIFY changed)
496 void setChownSocket(
const QString &chownSocket);
504 Q_PROPERTY(
QString umask READ umask WRITE setUmask NOTIFY changed)
505 void setUmask(
const QString &value);
513 Q_PROPERTY(
int cpu_affinity READ cpuAffinity WRITE setCpuAffinity NOTIFY changed)
514 void setCpuAffinity(
int value);
515 [[nodiscard]]
int cpuAffinity()
const;
522 Q_PROPERTY(
bool reuse_port READ reusePort WRITE setReusePort NOTIFY changed)
523 void setReusePort(
bool enable);
524 [[nodiscard]]
bool reusePort()
const;
530 Q_PROPERTY(
bool lazy READ lazy WRITE setLazy NOTIFY changed)
531 void setLazy(
bool enable);
532 [[nodiscard]]
bool lazy()
const;
540 Q_PROPERTY(
bool using_frontend_proxy READ usingFrontendProxy WRITE setUsingFrontendProxy NOTIFY
542 void setUsingFrontendProxy(
bool enable);
543 [[nodiscard]]
bool usingFrontendProxy()
const;
549 [[nodiscard]] QVariantMap config() const noexcept;
573 ServerPrivate *d_ptr;
The Cutelyst application.
The Cutelyst namespace holds all public Cutelyst API.