ru.dgis.sdk.positioning.radar.DefaultHttpClient | Android SDK | Urbi Documentation
Android SDK

DefaultHttpClient

Standard implementation of the HTTP client (transport layer) for requests to the Radar API service. It does not log the bodies and headers of requests and server responses at any logging level for privacy reasons. If you need to log requests, prepare your own implementation and pass it during the initialization of DefaultLocationSource as a parameter for the RadarSettings configuration.

DefaultHttpClient()

Standard implementation of the HTTP client (transport layer) for requests to the Radar API service. It does not log the bodies and headers of requests and server responses at any logging level for privacy reasons. If you need to log requests, prepare your own implementation and pass it during the initialization of DefaultLocationSource as a parameter for the RadarSettings configuration.

Returns
Methods
fun post(
	url: String,
	body: String,
	headers: Map
): RadarHttpResponse

Sends a POST request to the specified URL.

Parameters
url
String

Request URL.

body
String

Request body in JSON format.

headers
Returns
RadarHttpResponse

Server response in the form of RadarHttpResponse.