Пример #1
0
 /// <summary>
 /// Upload with image URL. Kraken will download the image from the provided URL.
 /// </summary>
 /// <param name="request">The request.</param>
 /// <param name="cancellationToken">The cancellation token.</param>
 /// <returns>Task&lt;UploadResponse&gt;.</returns>
 public Task <UploadResponse> ImageUrlUpload(ImageUrlUploadRequest request, CancellationToken cancellationToken)
 {
     return(this.Upload(request, this.imageUrl, cancellationToken));
 }
Пример #2
0
 /// <summary>
 /// Upload with image URL. Kraken will download the image from the provided URL.
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns>Task&lt;UploadResponse&gt;.</returns>
 public Task <UploadResponse> ImageUrlUpload(ImageUrlUploadRequest request)
 {
     return(this.ImageUrlUpload(request, default(CancellationToken)));
 }