InvocationMessage interface
A hub message representing a non-streaming invocation.
- Extends
Properties
arguments | The target method arguments. |
headers | A MessageHeaders dictionary containing headers attached to the message. |
invocation |
The ID of the invocation relating to this message. This is expected to be present for StreamInvocationMessage and CompletionMessage. It may be 'undefined' for an InvocationMessage if the sender does not expect a response. |
stream |
The target methods stream IDs. |
target | The target method name. |
type |
Property Details
arguments
The target method arguments.
arguments: any[]
Property Value
any[]
headers
A MessageHeaders dictionary containing headers attached to the message.
headers?: MessageHeaders
Property Value
invocationId
The ID of the invocation relating to this message. This is expected to be present for StreamInvocationMessage and CompletionMessage. It may be 'undefined' for an InvocationMessage if the sender does not expect a response.
invocationId?: string
Property Value
string
streamIds
The target methods stream IDs.
streamIds?: string[]
Property Value
string[]
target
The target method name.
target: string
Property Value
string