PaymillWrapper.Net.HttpClientRest.HttpClientRest C# (CSharp) Method

HttpClientRest() public method

Create an HttpClientRest-object
public HttpClientRest ( string apiUrl, string apiKey ) : System
apiUrl string API Endpoint URL
apiKey string Private key
return System
        public HttpClientRest(string apiUrl, string apiKey)
        {
            this._apiUrl = apiUrl;
            this._apiKey = apiKey;

            try
            {
                Uri uri = new Uri(apiUrl);
            }
            catch
            {
                throw new PaymillException("ApiURL is not a valid format Uri");
            }

            this._urlEncoder = new URLEncoder();
        }
HttpClientRest