The QQmlGrpcChannelOptions is an storage class used to set additional channel options. 更多...
import 语句: | import QtGrpc |
Since: | Qt 6.7 |
实例化: | QGrpcChannelOptions |
Provides a set of properties to access the channel options that are used by gRPC channels to communicate with the services.
另请参阅 QGrpcChannelOptions .
deadline : int |
Holds a deadline value for a channel.
另请参阅 QGrpcChannelOptions::deadline .
host : QUrl |
Holds a host
URL
for the channel.
注意:
host is
REQUIRED
property. It must be set for object creation.
另请参阅 QGrpcChannelOptions::host .
metadata : QQmlGrpcMetadata |
Holds a pointer to the metadata object used for a channel.
另请参阅 QQmlGrpcMetadata and QGrpcMetadata .