Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(fetch): added documentation for fetch #1803

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/api/Fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Fetch

Undici exposes a fetch() method starts the process of fetching a resource from the network

## File

This API is implemented as per the standard, you can find documentation on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/API/File)

## FormData

This API is implemented as per the standard, you can find documentation on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/API/FormData)

## Response

This API is implemented as per the standard, you can find documentation on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/API/Response)

## Request

This API is implemented as per the standard, you can find documentation on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/API/Request)

## Header

This API is implemented as per the standard, you can find documentation on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
43 changes: 22 additions & 21 deletions docsify/sidebar.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
<!-- Sidebar for Docsify -->

* [**Home**](/ "Node.js Undici")
* API
* [Dispatcher](/docs/api/Dispatcher.md "Undici API - Dispatcher")
* [Client](/docs/api/Client.md "Undici API - Client")
* [Pool](/docs/api/Pool.md "Undici API - Pool")
* [BalancedPool](/docs/api/BalancedPool.md "Undici API - BalancedPool")
* [Agent](/docs/api/Agent.md "Undici API - Agent")
* [ProxyAgent](/docs/api/ProxyAgent.md "Undici API - ProxyAgent")
* [Connector](/docs/api/Connector.md "Custom connector")
* [Errors](/docs/api/Errors.md "Undici API - Errors")
* [MockClient](/docs/api/MockClient.md "Undici API - MockClient")
* [MockPool](/docs/api/MockPool.md "Undici API - MockPool")
* [MockAgent](/docs/api/MockAgent.md "Undici API - MockAgent")
* [MockErrors](/docs/api/MockErrors.md "Undici API - MockErrors")
* [API Lifecycle](/docs/api/api-lifecycle.md "Undici API - Lifecycle")
* [Diagnostics Channel Support](/docs/api/DiagnosticsChannel.md "Diagnostics Channel Support")
* Best Practices
* [Proxy](/docs/best-practices/proxy.md "Connecting through a proxy")
* [Client Certificate](/docs/best-practices/client-certificate.md "Connect using a client certificate")
* [Writing Tests](/docs/best-practices/writing-tests.md "Using Undici inside tests")
* [Mocking Request](/docs/best-practices/mocking-request.md "Using Undici inside tests")
- [**Home**](/ "Node.js Undici")
- API
- [Dispatcher](/docs/api/Dispatcher.md "Undici API - Dispatcher")
- [Client](/docs/api/Client.md "Undici API - Client")
- [Pool](/docs/api/Pool.md "Undici API - Pool")
- [BalancedPool](/docs/api/BalancedPool.md "Undici API - BalancedPool")
- [Agent](/docs/api/Agent.md "Undici API - Agent")
- [ProxyAgent](/docs/api/ProxyAgent.md "Undici API - ProxyAgent")
- [Connector](/docs/api/Connector.md "Custom connector")
- [Errors](/docs/api/Errors.md "Undici API - Errors")
- [Fetch](/docs/api/Fetch.md "Undici API - Fetch")
- [MockClient](/docs/api/MockClient.md "Undici API - MockClient")
- [MockPool](/docs/api/MockPool.md "Undici API - MockPool")
- [MockAgent](/docs/api/MockAgent.md "Undici API - MockAgent")
- [MockErrors](/docs/api/MockErrors.md "Undici API - MockErrors")
- [API Lifecycle](/docs/api/api-lifecycle.md "Undici API - Lifecycle")
- [Diagnostics Channel Support](/docs/api/DiagnosticsChannel.md "Diagnostics Channel Support")
- Best Practices
- [Proxy](/docs/best-practices/proxy.md "Connecting through a proxy")
- [Client Certificate](/docs/best-practices/client-certificate.md "Connect using a client certificate")
- [Writing Tests](/docs/best-practices/writing-tests.md "Using Undici inside tests")
- [Mocking Request](/docs/best-practices/mocking-request.md "Using Undici inside tests")