3using System.Threading.Tasks;
34 new ValueTask<Stream?>
GetResult(CancellationToken cancellationToken);
Response for when file transfers are necessary.
Interface for asynchronously consuming Streams of files.
A FileTicketResponse that waits for a pending upload.
FileTicketResponse Ticket
The FileTicketResponse.
void SetError(ErrorCode errorCode, string? additionalData)
Sets an errorCode that indicates why the consuming operation could not complete. May only be called ...
new ValueTask< Stream?> GetResult(CancellationToken cancellationToken)
Gets the provided Stream. May be called multiple times, though cancelling any may cause all calls to ...
ErrorCode
Types of Response.ErrorMessageResponses that the API may return.