QQmlGrpcChannelOptions QML Type

The QQmlGrpcChannelOptions is an storage class used to set additional channel options. More...

Import Statement: import QtGrpc
Since: Qt 6.7
Instantiates: QGrpcChannelOptions

Properties

Detailed Description

Provides a set of properties to access the channel options that are used by gRPC channels to communicate with the services.

See also QGrpcChannelOptions.

Property Documentation

deadline : int

Holds a deadline value for a channel.

See also QGrpcChannelOptions::deadline.


host : QUrl

Holds a host URL for the channel.

Note: host is REQUIRED property. It must be set for object creation.

See also QGrpcChannelOptions::host.


metadata : QQmlGrpcMetadata

Holds a pointer to the metadata object used for a channel.

See also QQmlGrpcMetadata and QGrpcMetadata.