HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Optimizely Search & Navigation 16 uses the `HttpClient` library instead of the obsolete `HttpWebRequest` to send requests to the search service. As a result, the public constructors in the client class are extended with a parameter of type `IHttpClientFactory`.

If you are currently creating instances of the client class using this constructor, you must provide an instance of `IHttpClientFactory`. However, extensions in the Search & Navigation package are automatically registering an `HttpClient`so if you are using Dependency Injection (DI), you do not need to take further action.