nativescript-community / https

Secure HTTP client with SSL pinning for Nativescript - iOS/Android
https://nativescript-community.github.io/https/
Other
50 stars 42 forks source link

HttpsRequestOptions body field vs. HttpRequestOptions content field #9

Open andy-tai opened 7 years ago

andy-tai commented 7 years ago

The HttpsRequestOptions object seems to be modelled after NativeScript's built in HttpRequestOptions object, as seen from the example in the documentation. However, in the current code the "content" field of HttpsRequestOptions is actually named "body" so the example code as is would not work.

roblav96 commented 7 years ago

@andy-tai Ah yes, that is entirely true :X

I do plan on revamping the crap out of this plugin for nativescript v3