@testjg/nativescript-http
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -84,3 +84,3 @@ import { File, knownFolders, Utils } from '@nativescript/core'; | ||
req.HTTPMethod = options.method; | ||
createRequestHeaders(options.headers, req); | ||
createRequestHeaders(options.headers || {}, req); | ||
if (Utils.isNullOrUndefined(options.content)) { | ||
@@ -87,0 +87,0 @@ return { req }; |
{ | ||
"name": "@testjg/nativescript-http", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Add a plugin description", | ||
@@ -5,0 +5,0 @@ "main": "index", |
# @testjg/nativescript-http | ||
[](https://badge.fury.io/js/@testjg%2Fnativescript-http) | ||
Http helper lib. Under the hood it uses `okhttp` (v3) for Android and `NSURLSession` for iOS. | ||
@@ -4,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
49194
48