Exemple #1
0
 /// <summary>
 /// Sends a FaresRequest object to the Sirena server.
 /// </summary>
 /// <param name="faresRequest">The FaresRequest object to send.</param>
 /// <returns>Returns a FaresResponse object contains the response.</returns>
 public FaresResponse SendRequest(FaresRequest faresRequest)
 {
     return(SendRequest <FaresRequest, FaresResponse>(faresRequest));
 }
Exemple #2
0
 /// <summary>
 /// Asynchronously queues a FaresRequest object in the SirenaClientPool instance.
 /// </summary>
 /// <param name="faresRequest">The FaresRequest object to send.</param>
 /// <returns>Returns the task object representing the asynchronous operation.</returns>
 public async Task <FaresResponse> QueueRequestAsync(FaresRequest faresRequest)
 {
     return(await QueueRequestAsync <FaresRequest, FaresResponse>(faresRequest));
 }
Exemple #3
0
 /// <summary>
 /// Asynchronously sends a FaresRequest object to the Sirena server.
 /// </summary>
 /// <param name="faresRequest">The FaresRequest object to send.</param>
 /// <returns>Returns the task object representing the asynchronous operation.</returns>
 public async Task <FaresResponse> SendRequestAsync(FaresRequest faresRequest)
 {
     return(await SendRequestAsync <FaresRequest, FaresResponse>(faresRequest));
 }