| 157 | |
| 158 | /******** HTTP PLUGIN ********/ |
| 159 | export interface CapacitorHttpPlugin { |
| 160 | /** |
| 161 | * Make a Http Request to a server using native libraries. |
| 162 | */ |
| 163 | request(options: HttpOptions): Promise<HttpResponse>; |
| 164 | /** |
| 165 | * Make a Http GET Request to a server using native libraries. |
| 166 | */ |
| 167 | get(options: HttpOptions): Promise<HttpResponse>; |
| 168 | /** |
| 169 | * Make a Http POST Request to a server using native libraries. |
| 170 | */ |
| 171 | post(options: HttpOptions): Promise<HttpResponse>; |
| 172 | /** |
| 173 | * Make a Http PUT Request to a server using native libraries. |
| 174 | */ |
| 175 | put(options: HttpOptions): Promise<HttpResponse>; |
| 176 | /** |
| 177 | * Make a Http PATCH Request to a server using native libraries. |
| 178 | */ |
| 179 | patch(options: HttpOptions): Promise<HttpResponse>; |
| 180 | /** |
| 181 | * Make a Http DELETE Request to a server using native libraries. |
| 182 | */ |
| 183 | delete(options: HttpOptions): Promise<HttpResponse>; |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * How to parse the Http response before returning it to the client. |
no outgoing calls
no test coverage detected