mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #3895] [MERGED] Remove IHttpClient from Jellyfin.Api #9751
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/3895
Author: @crobibero
Created: 8/14/2020
Status: ✅ Merged
Merged: 8/17/2020
Merged by: @Bond-009
Base:
master← Head:httpclient📝 Commits (3)
97fd11cRemove httpclient from Jellyfin.Api8ddcd12Remove all using for HttpClient8da646eDispose httpclient response📊 Changes
4 files changed (+22 additions, -31 deletions)
View changed files
📝
Jellyfin.Api/Controllers/AudioController.cs(+1 -1)📝
Jellyfin.Api/Controllers/LiveTvController.cs(+10 -11)📝
Jellyfin.Api/Controllers/RemoteImageController.cs(+10 -18)📝
Jellyfin.Api/Controllers/VideosController.cs(+1 -1)📄 Description
IHttpClient -> IHttpClientFactory
unsure if
using var client = _httpClientFactory.CreateClient();is correct with new IHttpClientFactory.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.