remove IMessageSerializer from basic request methods

This commit is contained in:
Pilzinsel64
2024-08-16 09:54:00 +02:00
parent 2bbab92246
commit a58bd055b5

View File

@@ -12,13 +12,13 @@ public interface IApiClient
ILogger Log { get; set; }
Task<ApiResponse> SendRequest(string route, IMessageSerializer? serializer = null);
Task<ApiResponse> SendRequest(string route);
Task<ApiResponse> SendRequest(string route, ApiMessage? message);
Task<ApiResponse> SendRequest(string route, ApiMessage? message, IMessageSerializer? serializer);
Task<ApiResponse<TResponse>> SendRequest<TResponse>(string route, IMessageSerializer? serializer = null) where TResponse : ApiMessage;
Task<ApiResponse<TResponse>> SendRequest<TResponse>(string route) where TResponse : ApiMessage;
Task<ApiResponse<TResponse>> SendRequest<TResponse>(string route, ApiMessage? message) where TResponse : ApiMessage;