Jaa


StreamingRequestHandler.SendStreamingRequestAsync Method

Definition

Sends a StreamingRequest to the connected streaming channel.

public System.Threading.Tasks.Task<Microsoft.Bot.Streaming.ReceiveResponse> SendStreamingRequestAsync (Microsoft.Bot.Streaming.StreamingRequest request, System.Threading.CancellationToken cancellationToken = default);
member this.SendStreamingRequestAsync : Microsoft.Bot.Streaming.StreamingRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Streaming.ReceiveResponse>
Public Function SendStreamingRequestAsync (request As StreamingRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ReceiveResponse)

Parameters

request
StreamingRequest

The request to send.

cancellationToken
CancellationToken

A cancellation token.

Returns

A task that resolves to a ReceiveResponse.

Applies to