Created
April 4, 2013 20:09
-
-
Save evernotegists/5313816 to your computer and use it in GitHub Desktop.
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
// Retrieved during authentication: | |
String authToken = ... | |
String noteStoreUrl = ... | |
String userAgent = myCompanyName + " " + myAppName + "/" + myAppVersion; | |
THttpClient noteStoreTrans = new THttpClient(noteStoreUrl); | |
userStoreTrans.setCustomHeader("User-Agent", userAgent); | |
TBinaryProtocol noteStoreProt = new TBinaryProtocol(noteStoreTrans); | |
NoteStore.Client noteStore = new NoteStore.Client(noteStoreProt, noteStoreProt); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment