Class FlightRecordBatchStreamingCall
public class FlightRecordBatchStreamingCall : IDisposable
- Inheritance
-
FlightRecordBatchStreamingCall
- Implements
- Inherited Members
Properties
ResponseHeadersAsync
Asynchronous access to response headers.
public Task<Metadata> ResponseHeadersAsync { get; }
Property Value
ResponseStream
public FlightClientRecordBatchStreamReader ResponseStream { get; }
Property Value
Methods
Dispose()
Provides means to cleanup after the call. If the call has already finished normally (response stream has been fully read), doesn't do anything. Otherwise, requests cancellation of the call which should terminate all pending async operations associated with the call. As a result, all resources being used by the call should be released eventually.
public void Dispose()
Remarks
Normally, there is no need for you to dispose the call unless you want to utilize the "Cancel" semantics of invoking Dispose.
GetStatus()
Gets the call status if the call has already finished. Throws InvalidOperationException otherwise.
public Status GetStatus()
Returns
GetTrailers()
Gets the call trailing metadata if the call has already finished. Throws InvalidOperationException otherwise.
public Metadata GetTrailers()