toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-base
/
com.mapbox.dash.sdk.base.http
/
BasicHttpService
Basic
Http
Service
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
interface
BasicHttpService
Inheritors
BasicHttpStreamService
Members
Functions
get
Link copied to clipboard
abstract
suspend
fun
get
(
url
:
String
,
params
:
Map
<
String
,
String
>
,
headers
:
Map
<
String
,
String
>
)
:
Expected
<
HttpRequestError
,
ByteArray
>
post
Link copied to clipboard
abstract
suspend
fun
post
(
url
:
String
,
body
:
ByteArray
,
headers
:
Map
<
String
,
String
>
)
:
Expected
<
HttpRequestError
,
ByteArray
>