Auf dieser Seite

GrpcHttp2Channel QML Type

HTTP/2-QML-Kanal. Mehr...

Import Statement: import QtGrpc
Since: Qt 6.7
In C++: QGrpcHttp2Channel

Eigenschaften

Ausführliche Beschreibung

Implementiert die Schnittstelle „ QAbstractGrpcChannel “ für den Kanaltyp HTTP/2. Sie ermöglicht die Festlegung der für die Erstellung eines Kanals erforderlichen Optionen „ QGrpcChannelOptions “ und gibt einen Zeiger auf das auf „ QAbstractGrpcChannel “ basierende Objekt zurück.

Hinweis: Sie können von ` QGrpcChannelOptions ` erben, um benutzerdefinierte Kanäle in QML zu importieren.

Siehe auch „ QGrpcHttp2Channel “.

Dokumentation zu den Eigenschaften

hostUri : url

Legt eine Host- URL für den Kanal fest.

Hinweis: „host“ ist eine Eigenschaft von „ REQUIRED “. Sie muss bei der Objekterstellung festgelegt werden.

Siehe auch „ QGrpcHttp2Channel::hostUri “.

options : GrpcChannelOptions

Gibt einen Zeiger auf das „ GrpcChannelOptions “-Objekt zurück.

Siehe auch „ QGrpcChannelOptions “.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.