/
yu-yu
/
restaurant-project
Обзор
Документация
Войти
/
yu-yu
/
restaurant-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
restaurant-project
/
node_modules
/
node-fetch
/
..
lib
практика
8 месяцев назад
LICENSE.md
практика
8 месяцев назад
README.md
практика
8 месяцев назад
browser.js
практика
8 месяцев назад
package.json
практика
8 месяцев назад
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