Documentation Index
Fetch the complete documentation index at: https://generaltranslation.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Node.js とブラウザーの両方の環境で動作する汎用的な HTTP クライアント
• new HttpClient(): HttpClient
HttpClient
http-client.ts:43
▸ createHeaders(init?): Headers
新しい Headers インスタンスを作成します
| 名前 | type | |
|---|
init? | Record<string, string> | Headers |
Headers
定義元
http-client.ts:99
▸ request(url, options?): Promise<HttpResponse>
HTTP リクエストを実行します
Promise<HttpResponse>
http-client.ts:106
▸ get(url, headers?): Promise<HttpResponse>
GET リクエストを実行します
| 名前 | Type |
|---|
url | string |
headers? | Record<string, string> |
Promise<HttpResponse>
定義元
http-client.ts:141
▸ post(url, body?, headers?): Promise<HttpResponse>
POST リクエストを実行します
パラメータ
| Name | type |
|---|
url | string |
body? | string |
headers? | Record<string, string> |
Promise<HttpResponse>
定義元
http-client.ts:151
▸ put(url, body?, headers?): Promise<HttpResponse>
PUT リクエストを実行します
パラメータ
| 名前 | type |
|---|
url | string |
body? | string |
headers? | Record<string, string> |
Promise<HttpResponse>
定義元
http-client.ts:162
▸ delete(url, headers?): Promise<HttpResponse>
DELETE リクエストを実行します
| パラメーター名 | type |
|---|
url | string |
headers? | Record<string, string> |
Promise<HttpResponse>
http-client.ts:173
▸ patch(url, body?, headers?): Promise<HttpResponse>
PATCH リクエストを実行します
| 名前 | 型 |
|---|
url | string |
body? | string |
headers? | Record<string, string> |
Promise<HttpResponse>
定義元
http-client.ts:183