12 lines
No EOL
320 B
C#
12 lines
No EOL
320 B
C#
using System.Net.Http.Headers;
|
|
|
|
namespace Iceshrimp.Backend.Core.Helpers;
|
|
|
|
public static class HttpClientHelpers {
|
|
//TODO: replace with HttpClient service
|
|
public static readonly HttpClient HttpClient = new() {
|
|
DefaultRequestHeaders = {
|
|
UserAgent = { ProductInfoHeaderValue.Parse("Iceshrimp.NET/0.0.1") }
|
|
}
|
|
};
|
|
} |