From 0d0511e35d9965fc0ea5190ae3347c3d77c3334c Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 14 Aug 2023 04:09:13 +0200 Subject: Split LibMatrix into separate repo --- LibMatrix/RemoteHomeServer.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 LibMatrix/RemoteHomeServer.cs (limited to 'LibMatrix/RemoteHomeServer.cs') diff --git a/LibMatrix/RemoteHomeServer.cs b/LibMatrix/RemoteHomeServer.cs new file mode 100644 index 0000000..81ef9a7 --- /dev/null +++ b/LibMatrix/RemoteHomeServer.cs @@ -0,0 +1,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); + } + +} -- cgit 1.4.1