mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-22 09:36:09 +08:00
更新Linux截图
HttpClient 统一到 HttpClientFactory
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.IO;
|
||||
|
||||
namespace System.Net.Http
|
||||
{
|
||||
/// <inheritdoc cref="IHttpPlatformHelper"/>
|
||||
public class HttpPlatformHelper : IHttpPlatformHelper
|
||||
{
|
||||
const string DefaultUserAgent = "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263";
|
||||
|
||||
public virtual string UserAgent => DefaultUserAgent;
|
||||
|
||||
public (string filePath, string mime)? TryHandleUploadFile(Stream fileStream) => null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user