Example #1
0
 /// <summary>
 /// Asynchronously contines an intercepted network response without modification.
 /// </summary>
 /// <param name="responseData">The <see cref="HttpResponseData"/> of the network response.</param>
 /// <returns>A task that represents the asynchronous operation.</returns>
 public abstract Task ContinueResponseWithoutModification(HttpResponseData responseData);
Example #2
0
 /// <summary>
 /// Asynchronously continues an intercepted network request and returns the specified response.
 /// </summary>
 /// <param name="requestData">The <see cref="HttpRequestData"/> of the request.</param>
 /// <param name="responseData">The <see cref="HttpResponseData"/> with which to respond to the request</param>
 /// <returns>A task that represents the asynchronous operation.</returns>
 public abstract Task ContinueRequestWithResponse(HttpRequestData requestData, HttpResponseData responseData);
Example #3
0
 /// <summary>
 /// Asynchronously adds the response body to the provided <see cref="HttpResponseData"/> object.
 /// </summary>
 /// <param name="responseData">The <see cref="HttpResponseData"/> object to which to add the response body.</param>
 /// <returns>A task that represents the asynchronous operation.</returns>
 public abstract Task AddResponseBody(HttpResponseData responseData);