toggle menu
Airship Android SDK
androidJvm
switch theme
search in API
urbanairship-core
/
com.urbanairship.http
/
SuspendingRequestSession
Suspending
Request
Session
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
class
SuspendingRequestSession
(
requestSession
:
RequestSession
)
A request session that will suspend and perform blocking operations on a thread pool.
Members
Constructors
Suspending
Request
Session
Link copied to clipboard
constructor
(
requestSession
:
RequestSession
)
Functions
execute
Link copied to clipboard
suspend
fun
execute
(
request
:
Request
)
:
RequestResult
<
Unit
>
suspend
fun
<
T
>
execute
(
request
:
Request
,
parser
:
ResponseParser
<
T
?
>
)
:
RequestResult
<
T
>