diff --git a/imports-request-reply.md b/imports-request-reply.md index 84063a7..c494380 100644 --- a/imports-request-reply.md +++ b/imports-request-reply.md @@ -42,6 +42,19 @@ This allows the component to perform request/reply messaging patterns.
A catch all for other types of errors +
variant metadata-errorErrors that can occur when adding metadata to a message
+Metadata is not supported by the message type +
Metadata is not valid for message type with optional reason +
resource message[method]message.set-content-type: funcSet the content-type describing the format of the data in the message. This is -sometimes described as the "format" type
+sometimes described as the "format" type. +Error is returned if content-type is not supported by the message type.self: borrow<message>content-type: string[method]message.data: funcAn opaque blob of data
metadata>[method]message.add-metadata: funcAdd a new key-value pair to the metadata, overwriting any existing value for the same key
+Add a new key-value pair to the metadata, overwriting any existing value for the same key. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
self: borrow<message>key: stringvalue: stringmetadata-error>[method]message.set-metadata: funcSet the metadata
+Set the metadata. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
metadata-error>[method]message.remove-metadata: funcRemove a key-value pair from the metadata
producer interface for sending messages.
A catch all for other types of errors +
variant metadata-errorErrors that can occur when adding metadata to a message
+Metadata is not supported by the message type +
Metadata is not valid for message type with optional reason +
resource message[method]message.set-content-type: funcSet the content-type describing the format of the data in the message. This is -sometimes described as the "format" type
+sometimes described as the "format" type. +Error is returned if content-type is not supported by the message type.self: borrow<message>content-type: string[method]message.data: funcAn opaque blob of data
metadata>[method]message.add-metadata: funcAdd a new key-value pair to the metadata, overwriting any existing value for the same key
+Add a new key-value pair to the metadata, overwriting any existing value for the same key. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
self: borrow<message>key: stringvalue: stringmetadata-error>[method]message.set-metadata: funcSet the metadata
+Set the metadata. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
metadata-error>[method]message.remove-metadata: funcRemove a key-value pair from the metadata
A catch all for other types of errors +
variant metadata-errorErrors that can occur when adding metadata to a message
+Metadata is not supported by the message type +
Metadata is not valid for message type with optional reason +
resource message[method]message.set-content-type: funcSet the content-type describing the format of the data in the message. This is -sometimes described as the "format" type
+sometimes described as the "format" type. +Error is returned if content-type is not supported by the message type.self: borrow<message>content-type: string[method]message.data: funcAn opaque blob of data
metadata>[method]message.add-metadata: funcAdd a new key-value pair to the metadata, overwriting any existing value for the same key
+Add a new key-value pair to the metadata, overwriting any existing value for the same key. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
self: borrow<message>key: stringvalue: stringmetadata-error>[method]message.set-metadata: funcSet the metadata
+Set the metadata. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
metadata-error>[method]message.remove-metadata: funcRemove a key-value pair from the metadata
A catch all for other types of errors +
variant metadata-errorErrors that can occur when adding metadata to a message
+Metadata is not supported by the message type +
Metadata is not valid for message type with optional reason +
resource message[method]message.set-content-type: funcSet the content-type describing the format of the data in the message. This is -sometimes described as the "format" type
+sometimes described as the "format" type. +Error is returned if content-type is not supported by the message type.self: borrow<message>content-type: string[method]message.data: funcAn opaque blob of data
metadata>[method]message.add-metadata: funcAdd a new key-value pair to the metadata, overwriting any existing value for the same key
+Add a new key-value pair to the metadata, overwriting any existing value for the same key. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
self: borrow<message>key: stringvalue: stringmetadata-error>[method]message.set-metadata: funcSet the metadata
+Set the metadata. +Error is returned if metadata is either not supported by the concrete message type or value is not valid.
metadata-error>[method]message.remove-metadata: funcRemove a key-value pair from the metadata