API / geotoolkit / http / HttpClient / HttpClient
http.HttpClient.HttpClient
Provide a container for HTTP service
Constructors
- [new HttpClient()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.http.httpclient.httpclient.md#new httpclient())
Methods
▸ getClassName(): string
string
▸ getHttp(): AbstractHttpService
Return an instance of http service
▸ setHttp(service): HttpClient
Sets default instance of HTTP service
| Name | Type | Description |
|---|---|---|
service | AbstractHttpService | a new default service |
this
▸ Static getClassName(): string
string
▸ Static getInstance(): HttpClient
Return instance of the client