GrpcHttp2Channel QML Type
Canale QML HTTP/2. Altro...
| Import Statement: | import QtGrpc |
| Since: | Qt 6.7 |
| In C++: | QGrpcHttp2Channel |
Proprietà
Descrizione dettagliata
Implementa l'interfaccia QAbstractGrpcChannel per il tipo di canale HTTP/2. Consente di impostare le opzioni QGrpcChannelOptions necessarie per la creazione di un canale e restituisce un puntatore all'oggetto basato su QAbstractGrpcChannel.
Nota: È possibile ereditare da ` QGrpcChannelOptions ` per importare un canale personalizzato in QML.
Vedi anche QGrpcHttp2Channel.
Documentazione delle proprietà
hostUri : url
Imposta l'host URL per il canale.
Nota: host è una proprietà dell'REQUIRED. Deve essere impostata al momento della creazione dell'oggetto.
Vedi anche ` QGrpcHttp2Channel::hostUri`.
options : GrpcChannelOptions
Restituisce un puntatore all'oggetto ` GrpcChannelOptions `.
Vedi anche 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.