HubSendToAllOptions interface

Options for sending messages to hubs.

Extends

Properties

excludedConnections

Connection ids to exclude from receiving this message.

filter

The filter syntax to filter out the connections to send the messages to following OData filter syntax. Examples:

  • Exclude connections from user1 and user2: userId ne 'user1' and userId ne 'user2'
  • Exclude connections in group1: not('group1' in groups) Details about filter syntax please see OData filter syntax for Azure Web PubSub.

Inherited Properties

abortSignal

The signal which can be used to abort requests.

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

requestOptions

Options used when creating and sending HTTP requests for this operation.

serializerOptions

Options to override serialization/de-serialization behavior.

tracingOptions

Options used when tracing is enabled.

Property Details

excludedConnections

Connection ids to exclude from receiving this message.

excludedConnections?: string[]

Property Value

string[]

filter

The filter syntax to filter out the connections to send the messages to following OData filter syntax. Examples:

  • Exclude connections from user1 and user2: userId ne 'user1' and userId ne 'user2'
  • Exclude connections in group1: not('group1' in groups) Details about filter syntax please see OData filter syntax for Azure Web PubSub.
filter?: string

Property Value

string

Inherited Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

Inherited From OperationOptions.abortSignal

onResponse

A function to be called each time a response is received from the server while performing the requested operation. May be called multiple times.

onResponse?: RawResponseCallback

Property Value

Inherited From OperationOptions.onResponse

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: OperationRequestOptions

Property Value

Inherited From OperationOptions.requestOptions

serializerOptions

Options to override serialization/de-serialization behavior.

serializerOptions?: SerializerOptions

Property Value

Inherited From OperationOptions.serializerOptions

tracingOptions

Options used when tracing is enabled.

tracingOptions?: OperationTracingOptions

Property Value

Inherited From OperationOptions.tracingOptions