Skip to content

Commit 2bf54c6

Browse files
committed
Docs
1 parent 8adc13b commit 2bf54c6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

dotnet/src/webdriver/Remote/HttpCommandExecutor.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,11 @@ protected virtual void OnSendingRemoteHttpRequest(SendingRemoteHttpRequestEventA
221221
this.SendingRemoteHttpRequest?.Invoke(this, eventArgs);
222222
}
223223

224+
/// <summary>
225+
/// Creates an instance of <see cref="HttpClientHandler"/> as underlying handler,
226+
/// used by <see cref="CreateHttpClient"/>.
227+
/// </summary>
228+
/// <returns>An instance of <see cref="HttpClientHandler"/>.</returns>
224229
protected virtual HttpClientHandler CreateHttpClientHandler()
225230
{
226231
HttpClientHandler httpClientHandler = new HttpClientHandler();
@@ -236,7 +241,10 @@ protected virtual HttpClientHandler CreateHttpClientHandler()
236241

237242
return httpClientHandler;
238243
}
239-
244+
/// <summary>
245+
/// Creates an instance of <see cref="HttpClient"/> used by making all HTTP calls to remote end.
246+
/// </summary>
247+
/// <returns>An instance of <see cref="HttpClient"/>.</returns>
240248
protected virtual HttpClient CreateHttpClient()
241249
{
242250
var httpClientHandler = CreateHttpClientHandler();

0 commit comments

Comments
 (0)