The GrpcMetadata is a class that stores metadata in unordered multimap container. More...
| Import Statement: | import QtGrpc |
| Since: | Qt 6.7 |
Metadata is information about a particular gRPC™ call or channel (such as authentication details) in the form of a list of key-value pairs, where the keys are strings and the values are typically strings, but can be binary data. The class provides the possibility to store data in an unordered container. Also, it is possible to store several values by the same key.
Note: Use the comma symbol to set several values by the same key.
|
data : QVariantMap |
Provides access to metadata container and sets it in QVariantMap format in QML.
Note: Data is REQUIRED property. It must be set for object creation.
Note: Use the comma symbol to set several values by the same key. See example below:
GrpcMetadata { id: grpcData data: ({ "user-name": "localhost, remotehost", "user-password": "qwerty, 123456"}) }
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: