> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FetchGetUrlFunc

> **注意**: このページはまだ日本語に翻訳されていません。以下は英語の原文です。

```ts theme={null}
type FetchGetUrlFunc: (req, signal?) => Promise<GetUrlResponse>;
```

Used to perform a fetch; use this to override the underlying network fetch layer. In NodeJS, the default uses the
"http" and "https" libraries and in the browser `fetch` is used. If you wish to use Axios, this is how you would
register it.

## Parameters

| Parameter | Type                                                   |
| :-------- | :----------------------------------------------------- |
| `req`     | [`FetchRequest`](/jp/sdk/content/classes/FetchRequest) |
| `signal`? | `FetchCancelSignal`                                    |

## Returns

`Promise`\<[`GetUrlResponse`](/jp/sdk/content/type-aliases/GetUrlResponse)>

## Source

[utils/fetch.ts:82](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/utils/fetch.ts#L82)
