internal RestClientEventArgs(RestCallData callData) { CallData = callData; }
internal void OnCompleted(RestClient client, RestCallData callData) { CallCompleted?.Invoke(client, new RestClientEventArgs(callData)); }
internal void OnReceivedResponse(RestClient client, RestCallData callData) { ReceivedResponse?.Invoke(client, new RestClientEventArgs(callData)); }
internal void OnReceivedError(RestClient client, RestCallData callData) { ReceivedError?.Invoke(client, new RestClientEventArgs(callData)); }
internal void OnSendingRequest(RestClient client, RestCallData callData) { SendingRequest?.Invoke(client, new RestClientEventArgs(callData)); }