@@ -9,29 +9,13 @@ hide_title: true
99
1010[ http] ( ../modules/http.md ) .Client
1111
12- ## Constructors
13-
14- ### constructor
15-
16- \+ ** new Client** (` id ` : * number* ): [ * Client* ] ( http.client.md )
17-
18- #### Parameters:
19-
20- Name | Type |
21- :------ | :------ |
22- ` id ` | * number* |
23-
24- ** Returns:** [ * Client* ] ( http.client.md )
25-
26- Defined in: [ http.ts:78] ( https://github.com/tauri-apps/tauri/blob/850a99a5/tooling/api/src/http.ts#L78 )
27-
2812## Properties
2913
3014### id
3115
3216• ** id** : * number*
3317
34- Defined in: [ http.ts:78 ] ( https://github.com/tauri-apps/tauri/blob/850a99a5 /tooling/api/src/http.ts#L78 )
18+ Defined in: [ http.ts:122 ] ( https://github.com/tauri-apps/tauri/blob/a68b4ee8 /tooling/api/src/http.ts#L122 )
3519
3620## Methods
3721
@@ -51,14 +35,14 @@ Name |
5135
5236Name | Type | Description |
5337:------ | :------ | :------ |
54- ` url ` | * string* | Request URL |
55- ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | Request options |
38+ ` url ` | * string* | The request URL. |
39+ ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | The request options. |
5640
5741** Returns:** * Promise* <[ * Response* ] ( ../interfaces/http.response.md ) <T\>\>
5842
5943A promise resolving to the response.
6044
61- Defined in: [ http.ts:194 ] ( https://github.com/tauri-apps/tauri/blob/850a99a5 /tooling/api/src/http.ts#L194 )
45+ Defined in: [ http.ts:239 ] ( https://github.com/tauri-apps/tauri/blob/a68b4ee8 /tooling/api/src/http.ts#L239 )
6246
6347___
6448
@@ -70,7 +54,7 @@ Drops the client instance.
7054
7155** Returns:** * Promise* <void\>
7256
73- Defined in: [ http.ts:88 ] ( https://github.com/tauri-apps/tauri/blob/850a99a5 /tooling/api/src/http.ts#L88 )
57+ Defined in: [ http.ts:133 ] ( https://github.com/tauri-apps/tauri/blob/a68b4ee8 /tooling/api/src/http.ts#L133 )
7458
7559___
7660
@@ -90,14 +74,14 @@ Name |
9074
9175Name | Type | Description |
9276:------ | :------ | :------ |
93- ` url ` | * string* | Request URL |
94- ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | - |
77+ ` url ` | * string* | The request URL. |
78+ ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | The request options. |
9579
9680** Returns:** * Promise* <[ * Response* ] ( ../interfaces/http.response.md ) <T\>\>
9781
9882A promise resolving to the response.
9983
100- Defined in: [ http.ts:122 ] ( https://github.com/tauri-apps/tauri/blob/850a99a5 /tooling/api/src/http.ts#L122 )
84+ Defined in: [ http.ts:167 ] ( https://github.com/tauri-apps/tauri/blob/a68b4ee8 /tooling/api/src/http.ts#L167 )
10185
10286___
10387
@@ -117,14 +101,14 @@ Name |
117101
118102Name | Type | Description |
119103:------ | :------ | :------ |
120- ` url ` | * string* | Request URL |
121- ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | Request options |
104+ ` url ` | * string* | The request URL. |
105+ ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | The request options. |
122106
123107** Returns:** * Promise* <[ * Response* ] ( ../interfaces/http.response.md ) <T\>\>
124108
125109A promise resolving to the response.
126110
127- Defined in: [ http.ts:179 ] ( https://github.com/tauri-apps/tauri/blob/850a99a5 /tooling/api/src/http.ts#L179 )
111+ Defined in: [ http.ts:224 ] ( https://github.com/tauri-apps/tauri/blob/a68b4ee8 /tooling/api/src/http.ts#L224 )
128112
129113___
130114
@@ -144,15 +128,15 @@ Name |
144128
145129Name | Type | Description |
146130:------ | :------ | :------ |
147- ` url ` | * string* | Request URL |
148- ` body? ` | [ * Body* ] ( http.body.md ) | - |
149- ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | - |
131+ ` url ` | * string* | The request URL. |
132+ ` body? ` | [ * Body* ] ( http.body.md ) | The body of the request. |
133+ ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | The request options. |
150134
151135** Returns:** * Promise* <[ * Response* ] ( ../interfaces/http.response.md ) <T\>\>
152136
153137A promise resolving to the response.
154138
155- Defined in: [ http.ts:138 ] ( https://github.com/tauri-apps/tauri/blob/850a99a5 /tooling/api/src/http.ts#L138 )
139+ Defined in: [ http.ts:183 ] ( https://github.com/tauri-apps/tauri/blob/a68b4ee8 /tooling/api/src/http.ts#L183 )
156140
157141___
158142
@@ -172,23 +156,23 @@ Name |
172156
173157Name | Type | Description |
174158:------ | :------ | :------ |
175- ` url ` | * string* | Request URL |
176- ` body? ` | [ * Body* ] ( http.body.md ) | - |
177- ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | - |
159+ ` url ` | * string* | The request URL. |
160+ ` body? ` | [ * Body* ] ( http.body.md ) | The body of the request. |
161+ ` options? ` | [ * RequestOptions* ] ( ../modules/http.md#requestoptions ) | Request options. |
178162
179163** Returns:** * Promise* <[ * Response* ] ( ../interfaces/http.response.md ) <T\>\>
180164
181165A promise resolving to the response.
182166
183- Defined in: [ http.ts:159 ] ( https://github.com/tauri-apps/tauri/blob/850a99a5 /tooling/api/src/http.ts#L159 )
167+ Defined in: [ http.ts:204 ] ( https://github.com/tauri-apps/tauri/blob/a68b4ee8 /tooling/api/src/http.ts#L204 )
184168
185169___
186170
187171### request
188172
189173▸ ** request** <T\> (` options ` : [ * HttpOptions* ] ( ../interfaces/http.httpoptions.md ) ): * Promise* <[ * Response* ] ( ../interfaces/http.response.md ) <T\>\>
190174
191- Makes a HTTP request.
175+ Makes an HTTP request.
192176
193177#### Type parameters:
194178
@@ -200,10 +184,10 @@ Name |
200184
201185Name | Type | Description |
202186:------ | :------ | :------ |
203- ` options ` | [ * HttpOptions* ] ( ../interfaces/http.httpoptions.md ) | Request options |
187+ ` options ` | [ * HttpOptions* ] ( ../interfaces/http.httpoptions.md ) | The request options. |
204188
205189** Returns:** * Promise* <[ * Response* ] ( ../interfaces/http.response.md ) <T\>\>
206190
207191A promise resolving to the response.
208192
209- Defined in: [ http.ts:104 ] ( https://github.com/tauri-apps/tauri/blob/850a99a5 /tooling/api/src/http.ts#L104 )
193+ Defined in: [ http.ts:149 ] ( https://github.com/tauri-apps/tauri/blob/a68b4ee8 /tooling/api/src/http.ts#L149 )
0 commit comments