mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 08:13:20 +00:00
Updated Xamarin forms. Dropped modernhttpclient in favor of native implementations built into xamarin now.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Net.Http;
|
||||
using ModernHttpClient;
|
||||
using System;
|
||||
using System.Net.Http.Headers;
|
||||
|
||||
@@ -8,7 +7,6 @@ namespace Bit.App
|
||||
public class ApiHttpClient : HttpClient
|
||||
{
|
||||
public ApiHttpClient()
|
||||
: base(new NativeMessageHandler())
|
||||
{
|
||||
BaseAddress = new Uri("https://api.bitwarden.com");
|
||||
DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
|
||||
|
||||
Reference in New Issue
Block a user