/// <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)); }
/// <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)); }
/// <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)); }