/
Dante
/
node-core
Обзор
Документация
Войти
/
Dante
/
node-core
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
node-core
/
node_modules
/
node-fetch
/
..
lib
add
2 года назад
LICENSE.md
add
2 года назад
README.md
add
2 года назад
browser.js
add
2 года назад
package.json
add
2 года назад
Motivation
Features
Difference from client-side fetch
Installation
Loading and configuring the module
Common Usage
Plain text or HTML
JSON
Simple Post
Post with JSON
Post with form parameters
Handling exceptions
Handling client and server errors
Advanced Usage
Streams
Buffer
Accessing Headers and other Meta data
Extract Set-Cookie Header
Post data using a file stream
Post with form-data (detect multipart)
Request cancellation with AbortSignal
API
fetch(url[, options])
Options
Default Headers
Custom Agent
Class: Request
new Request(input[, options])
Class: Response
new Response([body[, options]])
response.ok
response.redirected
Class: Headers
new Headers([init])
Interface: Body
body.body
body.bodyUsed
body.arrayBuffer()
body.blob()
body.json()
body.text()
body.buffer()
body.textConverted()
Class: FetchError
Class: AbortError
Acknowledgement
License
README.md