Created
August 12, 2016 09:56
-
-
Save chester89/269b8308f649a5460f539366ddfe746b to your computer and use it in GitHub Desktop.
Nginx request builder for GeocodeSharp library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
namespace GeocodeSharp | |
{ | |
public class NginxProxyRequestBuilder : DefaultRequestBuilder | |
{ | |
public NginxProxyRequestBuilder(string domain, bool isProtected = true) : base(domain, isProtected) | |
{ | |
} | |
public NginxProxyRequestBuilder(string domain, string apiKey): this(domain) | |
{ | |
_clientKey = apiKey; | |
} | |
public NginxProxyRequestBuilder(string domain, string clientId, string cryptoKey): this(domain) | |
{ | |
_clientId = clientId; | |
_cryptoKey = cryptoKey; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment