Esempio n. 1
0
 /// <summary>
 /// Asynchronously contines an intercepted network request without modification.
 /// </summary>
 /// <param name="requestData">The <see cref="HttpRequestData"/> of the network request.</param>
 /// <returns>A task that represents the asynchronous operation.</returns>
 public abstract Task ContinueRequestWithoutModification(HttpRequestData requestData);
Esempio n. 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);
Esempio n. 3
0
 /// <summary>
 /// Asynchronously cancels authorization of an intercepted network request.
 /// </summary>
 /// <param name="requestData">The <see cref="HttpRequestData"/> of the network request.</param>
 /// <returns>A task that represents the asynchronous operation.</returns>
 public abstract Task CancelAuth(HttpRequestData requestData);
Esempio n. 4
0
 /// <summary>
 /// Asynchronously continues an intercepted network request.
 /// </summary>
 /// <param name="requestData">The <see cref="HttpRequestData"/> of the request.</param>
 /// <returns>A task that represents the asynchronous operation.</returns>
 public abstract Task ContinueRequest(HttpRequestData requestData);
Esempio n. 5
0
 /// <summary>
 /// Asynchronously continues an intercepted network call using authentication.
 /// </summary>
 /// <param name="requestData">The <see cref="HttpRequestData"/> of the network request.</param>
 /// <param name="userName">The user name with which to authenticate.</param>
 /// <param name="password">The password with which to authenticate.</param>
 /// <returns>A task that represents the asynchronous operation.</returns>
 public abstract Task ContinueWithAuth(HttpRequestData requestData, string userName, string password);