11---
2+ title : " Class: Client"
23sidebar_label : " Client"
34custom_edit_url : null
45hide_title : true
@@ -16,13 +17,13 @@ hide_title: true
1617
1718#### Defined in
1819
19- [ http.ts:158] ( https://github.com/tauri-apps/tauri/blob/01d4ada /tooling/api/src/http.ts#L158 )
20+ [ http.ts:158] ( https://github.com/tauri-apps/tauri/blob/710a4f9 /tooling/api/src/http.ts#L158 )
2021
2122## Methods
2223
2324### delete
2425
25- ▸ ** delete** <T \> (` url ` , ` options? ` ): ` Promise ` <[ Response] ( http.response.md ) <T \>\>
26+ ▸ ** delete** <` T ` \> (` url ` , ` options? ` ): ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
2627
2728Makes a DELETE request.
2829
@@ -37,39 +38,39 @@ Makes a DELETE request.
3738| Name | Type | Description |
3839| :------ | :------ | :------ |
3940| ` url ` | ` string ` | The request URL. |
40- | ` options? ` | [ RequestOptions] ( ../modules/http.md#requestoptions ) | The request options. |
41+ | ` options? ` | [ ` RequestOptions ` ] ( ../modules/http.md#requestoptions ) | The request options. |
4142
4243#### Returns
4344
44- ` Promise ` <[ Response] ( http.response.md ) <T \>\>
45+ ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
4546
4647A promise resolving to the response.
4748
4849#### Defined in
4950
50- [ http.ts:299] ( https://github.com/tauri-apps/tauri/blob/01d4ada /tooling/api/src/http.ts#L299 )
51+ [ http.ts:299] ( https://github.com/tauri-apps/tauri/blob/710a4f9 /tooling/api/src/http.ts#L299 )
5152
5253___
5354
5455### drop
5556
56- ▸ ** drop** (): ` Promise ` <void\>
57+ ▸ ** drop** (): ` Promise ` <` void ` \>
5758
5859Drops the client instance.
5960
6061#### Returns
6162
62- ` Promise ` <void\>
63+ ` Promise ` <` void ` \>
6364
6465#### Defined in
6566
66- [ http.ts:169] ( https://github.com/tauri-apps/tauri/blob/01d4ada /tooling/api/src/http.ts#L169 )
67+ [ http.ts:169] ( https://github.com/tauri-apps/tauri/blob/710a4f9 /tooling/api/src/http.ts#L169 )
6768
6869___
6970
7071### get
7172
72- ▸ ** get** <T \> (` url ` , ` options? ` ): ` Promise ` <[ Response] ( http.response.md ) <T \>\>
73+ ▸ ** get** <` T ` \> (` url ` , ` options? ` ): ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
7374
7475Makes a GET request.
7576
@@ -84,23 +85,23 @@ Makes a GET request.
8485| Name | Type | Description |
8586| :------ | :------ | :------ |
8687| ` url ` | ` string ` | The request URL. |
87- | ` options? ` | [ RequestOptions] ( ../modules/http.md#requestoptions ) | The request options. |
88+ | ` options? ` | [ ` RequestOptions ` ] ( ../modules/http.md#requestoptions ) | The request options. |
8889
8990#### Returns
9091
91- ` Promise ` <[ Response] ( http.response.md ) <T \>\>
92+ ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
9293
9394A promise resolving to the response.
9495
9596#### Defined in
9697
97- [ http.ts:227] ( https://github.com/tauri-apps/tauri/blob/01d4ada /tooling/api/src/http.ts#L227 )
98+ [ http.ts:227] ( https://github.com/tauri-apps/tauri/blob/710a4f9 /tooling/api/src/http.ts#L227 )
9899
99100___
100101
101102### patch
102103
103- ▸ ** patch** <T \> (` url ` , ` options? ` ): ` Promise ` <[ Response] ( http.response.md ) <T \>\>
104+ ▸ ** patch** <` T ` \> (` url ` , ` options? ` ): ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
104105
105106Makes a PATCH request.
106107
@@ -115,23 +116,23 @@ Makes a PATCH request.
115116| Name | Type | Description |
116117| :------ | :------ | :------ |
117118| ` url ` | ` string ` | The request URL. |
118- | ` options? ` | [ RequestOptions] ( ../modules/http.md#requestoptions ) | The request options. |
119+ | ` options? ` | [ ` RequestOptions ` ] ( ../modules/http.md#requestoptions ) | The request options. |
119120
120121#### Returns
121122
122- ` Promise ` <[ Response] ( http.response.md ) <T \>\>
123+ ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
123124
124125A promise resolving to the response.
125126
126127#### Defined in
127128
128- [ http.ts:284] ( https://github.com/tauri-apps/tauri/blob/01d4ada /tooling/api/src/http.ts#L284 )
129+ [ http.ts:284] ( https://github.com/tauri-apps/tauri/blob/710a4f9 /tooling/api/src/http.ts#L284 )
129130
130131___
131132
132133### post
133134
134- ▸ ** post** <T \> (` url ` , ` body? ` , ` options? ` ): ` Promise ` <[ Response] ( http.response.md ) <T \>\>
135+ ▸ ** post** <` T ` \> (` url ` , ` body? ` , ` options? ` ): ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
135136
136137Makes a POST request.
137138
@@ -146,24 +147,24 @@ Makes a POST request.
146147| Name | Type | Description |
147148| :------ | :------ | :------ |
148149| ` url ` | ` string ` | The request URL. |
149- | ` body? ` | [ Body] ( http.body.md ) | The body of the request. |
150- | ` options? ` | [ RequestOptions] ( ../modules/http.md#requestoptions ) | The request options. |
150+ | ` body? ` | [ ` Body ` ] ( http.body.md ) | The body of the request. |
151+ | ` options? ` | [ ` RequestOptions ` ] ( ../modules/http.md#requestoptions ) | The request options. |
151152
152153#### Returns
153154
154- ` Promise ` <[ Response] ( http.response.md ) <T \>\>
155+ ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
155156
156157A promise resolving to the response.
157158
158159#### Defined in
159160
160- [ http.ts:243] ( https://github.com/tauri-apps/tauri/blob/01d4ada /tooling/api/src/http.ts#L243 )
161+ [ http.ts:243] ( https://github.com/tauri-apps/tauri/blob/710a4f9 /tooling/api/src/http.ts#L243 )
161162
162163___
163164
164165### put
165166
166- ▸ ** put** <T \> (` url ` , ` body? ` , ` options? ` ): ` Promise ` <[ Response] ( http.response.md ) <T \>\>
167+ ▸ ** put** <` T ` \> (` url ` , ` body? ` , ` options? ` ): ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
167168
168169Makes a PUT request.
169170
@@ -178,24 +179,24 @@ Makes a PUT request.
178179| Name | Type | Description |
179180| :------ | :------ | :------ |
180181| ` url ` | ` string ` | The request URL. |
181- | ` body? ` | [ Body] ( http.body.md ) | The body of the request. |
182- | ` options? ` | [ RequestOptions] ( ../modules/http.md#requestoptions ) | Request options. |
182+ | ` body? ` | [ ` Body ` ] ( http.body.md ) | The body of the request. |
183+ | ` options? ` | [ ` RequestOptions ` ] ( ../modules/http.md#requestoptions ) | Request options. |
183184
184185#### Returns
185186
186- ` Promise ` <[ Response] ( http.response.md ) <T \>\>
187+ ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
187188
188189A promise resolving to the response.
189190
190191#### Defined in
191192
192- [ http.ts:264] ( https://github.com/tauri-apps/tauri/blob/01d4ada /tooling/api/src/http.ts#L264 )
193+ [ http.ts:264] ( https://github.com/tauri-apps/tauri/blob/710a4f9 /tooling/api/src/http.ts#L264 )
193194
194195___
195196
196197### request
197198
198- ▸ ** request** <T \> (` options ` ): ` Promise ` <[ Response] ( http.response.md ) <T \>\>
199+ ▸ ** request** <` T ` \> (` options ` ): ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
199200
200201Makes an HTTP request.
201202
@@ -209,14 +210,14 @@ Makes an HTTP request.
209210
210211| Name | Type | Description |
211212| :------ | :------ | :------ |
212- | ` options ` | [ HttpOptions] ( ../interfaces/http.httpoptions.md ) | The request options. |
213+ | ` options ` | [ ` HttpOptions ` ] ( ../interfaces/http.httpoptions.md ) | The request options. |
213214
214215#### Returns
215216
216- ` Promise ` <[ Response] ( http.response.md ) <T \>\>
217+ ` Promise ` <[ ` Response ` ] ( http.response.md ) <` T ` \>\>
217218
218219A promise resolving to the response.
219220
220221#### Defined in
221222
222- [ http.ts:185] ( https://github.com/tauri-apps/tauri/blob/01d4ada /tooling/api/src/http.ts#L185 )
223+ [ http.ts:185] ( https://github.com/tauri-apps/tauri/blob/710a4f9 /tooling/api/src/http.ts#L185 )
0 commit comments