Sdílet prostřednictvím


StreamingConnection.SendStreamingRequestAsync Metoda

Definice

Odešle žádost o streamování prostřednictvím připojení.

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

Parametry

request
StreamingRequest

StreamingRequest k odeslání.

cancellationToken
CancellationToken

CancellationToken proces odeslání zrušíte.

Návraty

Vrácená ReceiveResponse z klienta.

Platí pro