about summary refs log tree commit diff
path: root/LibMatrix/RemoteHomeServer.cs
blob: 81ef9a7c3e7541d090157efe1537cc2867f16003 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
using LibMatrix.Extensions;
using LibMatrix.Interfaces;

namespace LibMatrix;

public class RemoteHomeServer : IHomeServer {
    public RemoteHomeServer(string canonicalHomeServerDomain) {
        HomeServerDomain = canonicalHomeServerDomain;
        _httpClient = new MatrixHttpClient();
        _httpClient.Timeout = TimeSpan.FromSeconds(5);
    }

}