Interface ITopicSendOptionsBuilder
The send options builder.
Namespace: PushTechnology.ClientInterface.Client.Types
Assembly: Diffusion.Client.dll
Syntax
public interface ITopicSendOptionsBuilder
Remarks
Deprecated: This is only used within one-way messaging, which is deprecated from this release. This interface will be removed in a future release.
Methods
Build()
Build the options.
Declaration
ITopicSendOptions Build()
Returns
Type | Description |
---|---|
ITopicSendOptions | The options. |
SetHeaders(List<String>)
Set headers to be sent with the content.
If no headers are supplied then no headers will be sent with the content.
Declaration
ITopicSendOptionsBuilder SetHeaders(List<string> headers)
Parameters
Type | Name | Description |
---|---|---|
List<String> | headers |
Returns
Type | Description |
---|---|
ITopicSendOptionsBuilder |
SetPriority(SendOptionsPriority)
Set the priority of content delivery.
If not explictly specified then SendOptionsPriority.NORMAL will be assumed.
Declaration
ITopicSendOptionsBuilder SetPriority(SendOptionsPriority priority)
Parameters
Type | Name | Description |
---|---|---|
SendOptionsPriority | priority | The priority. |
Returns
Type | Description |
---|---|
ITopicSendOptionsBuilder | This builder. |