@@ -294,7 +294,7 @@ There are alternative ways to solve the preceding problems using a long-lived <x
294294
295295- Create an instance of ` SocketsHttpHandler ` when the app starts and use it for the life of the app.
296296- Configure < xref:System.Net.Http.SocketsHttpHandler.PooledConnectionLifetime > to an appropriate value based on DNS refresh times.
297- - Create ` HttpClient ` instances using ` new HttpClient(handler, dispostHandler : false) ` as needed.
297+ - Create ` HttpClient ` instances using ` new HttpClient(handler, disposeHandler : false) ` as needed.
298298
299299The preceding approaches solve the resource management problems that ` IHttpClientFactory ` solves in a similar way.
300300
@@ -596,7 +596,7 @@ There are alternative ways to solve the preceding problems using a long-lived <x
596596
597597- Create an instance of ` SocketsHttpHandler ` when the app starts and use it for the life of the app.
598598- Configure < xref:System.Net.Http.SocketsHttpHandler.PooledConnectionLifetime > to an appropriate value based on DNS refresh times.
599- - Create ` HttpClient ` instances using ` new HttpClient(handler, dispostHandler : false) ` as needed.
599+ - Create ` HttpClient ` instances using ` new HttpClient(handler, disposeHandler : false) ` as needed.
600600
601601The preceding approaches solve the resource management problems that ` IHttpClientFactory ` solves in a similar way.
602602
@@ -904,7 +904,7 @@ There are alternative ways to solve the preceding problems using a long-lived <x
904904
905905- Create an instance of ` SocketsHttpHandler ` when the app starts and use it for the life of the app.
906906- Configure < xref:System.Net.Http.SocketsHttpHandler.PooledConnectionLifetime > to an appropriate value based on DNS refresh times.
907- - Create ` HttpClient ` instances using ` new HttpClient(handler, dispostHandler : false) ` as needed.
907+ - Create ` HttpClient ` instances using ` new HttpClient(handler, disposeHandler : false) ` as needed.
908908
909909The preceding approaches solve the resource management problems that ` IHttpClientFactory ` solves in a similar way.
910910
0 commit comments