move GetClient to IApiClient

This commit is contained in:
Pilzinsel64
2024-12-12 12:58:25 +01:00
parent 0b82e76734
commit 441b4a0494

View File

@@ -12,6 +12,7 @@ public interface IApiClient
ILogger Log { get; set; }
T GetClient<T>() where T : IApiSubClient;
Task<ApiResponse> SendRequest(string route, HttpMethod method, ApiMessage? message, ApiParameterCollection? @params, IApiMessageSerializer? serializer);
Task<ApiResponse<TResponse>> SendRequest<TResponse>(string route, HttpMethod method, ApiMessage? message, ApiParameterCollection? @params, IApiMessageSerializer? serializer) where TResponse : ApiMessage;