GrpcHttp2Channel QML Type
Canal QML HTTP/2. Plus d'informations...
| 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.
Propriété Documentation
hostUri : url |
Définit un hôte URL pour le canal.
Remarque : host est une propriété REQUIRED. Elle doit être définie lors de la création de l'objet.
Voir aussi QGrpcHttp2Channel::hostUri.
options : GrpcChannelOptions |
Renvoie un pointeur sur l'objet GrpcChannelOptions.
Voir aussi QGrpcChannelOptions.
© 2025 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.