Projekt

Obecné

Profil

« Předchozí | Další » 

Revize a155a763

Přidáno uživatelem Jakub Šilhavý před asi 2 roky(ů)

re #9570 Commented HttpClient.cs, IHttpClient.cs, and IApiClient.cs

Zobrazit rozdíly:

ld_client/LDClient/network/IApiClient.cs
2 2

  
3 3
namespace LDClient.network {
4 4
    
5
    /// <summary>
6
    /// This interface defines the functionality of an API client
7
    /// which is used to send information (payloads) to the server.
8
    /// </summary>
5 9
    public interface IApiClient {
6 10
        
11
        /// <summary>
12
        /// Sends a payload to the server (API).
13
        /// </summary>
14
        /// <param name="payload">instance of a payload to be sent off to the server</param>
7 15
        public Task SendPayloadAsync(Payload payload);
16
        
17
        /// <summary>
18
        /// Runs the periodical retrieval of failed payloads stored
19
        /// in a file-based cache. This method is instantiated as a thread.
20
        /// </summary>
8 21
        public void Run();
9 22
    }
10 23
}

Také k dispozici: Unified diff