tgstation-server 6.12.3
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ApiClientFactory.cs
Go to the documentation of this file.
1using System;
2
5
7{
10 {
13 Uri url,
14 ApiHeaders apiHeaders,
15 ApiHeaders? tokenRefreshHeaders,
16 bool authless) => new ApiClient(
17 new HttpClient(),
18 url,
19 apiHeaders,
20 tokenRefreshHeaders,
21 authless);
22 }
23}
Represents the header that must be present for every server request.
Definition ApiHeaders.cs:25
IApiClient CreateApiClient(Uri url, ApiHeaders apiHeaders, ApiHeaders? tokenRefreshHeaders, bool authless)
Create an IApiClient.A new IApiClient.
Web interface for the API.
Definition IApiClient.cs:17