On Sun, Feb 14, 2016, at 09:56 AM, Mark Murphy wrote: > On Sun, Feb 14, 2016, at 09:45, Nathan of Guardian wrote: > > We can add a helper function called > > makeSureIAmReallyUsingTor() that hits that and verifies the response. > > Does that work from your perspective, Mark? > > I agree that developers (and users) could use that. However, given > NetCipher's current scope, implementing it is something that developers > themselves need to do. You can't request that URL without a > fully-configured HTTP client stack, and that's something that developers > need to set up today.
Right. I think support HttpUrlConnection would be good, either as sample code, or through a method you can pass your instance to. > Now, if we envision a future NetCipher that has packaged integrations > tying it to popular Android HTTP client stacks (e.g., HttpURLConnection, > Apache's independent HttpClient packaging, OkHttp, Volley), those > integrations could offer such a method. The developer configures the > integration, calls the validation method, and proceeds from there. Yes. Let's envision that, and realize that! -- Nathan of Guardian [email protected] _______________________________________________ List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To unsubscribe, email: [email protected]
