GrpcHttp2Channel QML Type
Canal QML HTTP/2. En savoir plus…
| Import Statement: | import QtGrpc |
| Since: | Qt 6.7 |
| In C++: | QGrpcHttp2Channel |
Propriétés
Description détaillée
Implémente l'interface QAbstractGrpcChannel pour le type de canal HTTP/2. Elle permet de définir les options QGrpcChannelOptions requises pour la création d'un canal et renvoie un pointeur vers l'objet basé sur QAbstractGrpcChannel.
Remarque : vous pouvez hériter de ` QGrpcChannelOptions ` pour importer un canal personnalisé dans QML.
Voir également QGrpcHttp2Channel.
Documentation sur les propriétés
hostUri : url
Définit l'URL de l'hôte pour le canal.
Remarque : host est une propriété d'REQUIRED. Elle doit être définie lors de la création de l'objet.
Voir également ` QGrpcHttp2Channel::hostUri`.
options : GrpcChannelOptions
Renvoie un pointeur vers l'objet ` GrpcChannelOptions `.
Voir aussi 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.