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.
सार्वभौमिक HTTP क्लाइंट, जो Node.js और ब्राउज़र दोनों वातावरणों में काम करता है
• 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 अनुरोध करें
| नाम | 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 अनुरोध करें
| नाम | type |
|---|
url | string |
body? | string |
headers? | Record<string, string> |
Promise<HttpResponse>
http-client.ts:183