@candlefinance/send
v0.3.16
Published
A fast, low-level networking library
Downloads
17
Readme
Uses URLSession on iOS and OkHttp on Android to provide a fast, low-level networking layer for React Native.
Installation
To install send
with npm:
npm install @candlefinance/send
To install send
with yarn:
yarn add @candlefinance/send
Usage
import { send } from '@candlefinance/send'
const response = await send({
baseURL: 'https://itunes.apple.com',
method: 'GET',
path: '/lookup',
queryParameters: {
bundleId: 'com.trycandle.candle',
country: 'US',
},
body: null,
utf8ContentTypes: ['text/javascript'],
headerParameters: {
'Cache-Control': 'no-cache',
'Content-Type': 'application/json',
'Accept': 'application/json',
},
})
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.