Example #1
0
 /// <summary>
 /// Continues route's request with optional overrides.
 /// </summary>
 /// <param name="method">HTTP method.</param>
 /// <param name="postData">Post data.</param>
 /// <param name="headers">HTTP headers.</param>
 /// <returns>A <see cref="Task"/> that completes when the message was sent.</returns>
 public Task ContinueAsync(HttpMethod method = null, string postData = null, Dictionary <string, string> headers = null)
 => _channel.ContinueAsync(method, postData, headers);
Example #2
0
 public Task ContinueAsync(RouteContinueOptions options = default)
 {
     options ??= new RouteContinueOptions();
     return(RaceWithPageCloseAsync(_channel.ContinueAsync(url: options.Url, method: options.Method, postData: options.PostData, headers: options.Headers)));
 }
Example #3
0
 /// <inheritdoc/>
 public Task ResumeAsync(
     string url      = default,
     string method   = default,
     byte[] postData = default,
     IEnumerable <KeyValuePair <string, string> > headers = default)
 => _channel.ContinueAsync(url, method, postData, headers);