Superwall Android SDK
Toggle table of contents
0.0.0-docs
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Superwall Android SDK
Superwall Android SDK
/
com.superwall.sdk.network
/
NetworkService
Network
Service
androidJvm
abstract
class
NetworkService
(
source
)
Inheritors
BaseHostService
CollectorService
EnrichmentService
SubscriptionService
Members
Constructors
Network
Service
Link copied to clipboard
androidJvm
constructor
(
)
Properties
custom
Http
Url
Connection
Link copied to clipboard
androidJvm
abstract
val
customHttpUrlConnection
:
CustomHttpUrlConnection
host
Link copied to clipboard
androidJvm
abstract
val
host
:
String
version
Link copied to clipboard
androidJvm
abstract
val
version
:
String
Functions
get
Link copied to clipboard
androidJvm
inline suspend
fun
<
T
:
@
Serializable
Any
>
get
(
path
:
String
,
queryItems
:
List
<
URLQueryItem
>
?
=
null
,
isForDebugging
:
Boolean
=
false
,
requestId
:
String
=
UUID.randomUUID().toString()
,
retryCount
:
Int
=
NetworkConsts.retryCount()
)
:
Either
<
T
,
NetworkError
>
make
Headers
Link copied to clipboard
androidJvm
abstract
suspend
fun
makeHeaders
(
isForDebugging
:
Boolean
,
requestId
:
String
)
:
Map
<
String
,
String
>
post
Link copied to clipboard
androidJvm
inline suspend
fun
<
T
:
@
Serializable
Any
>
post
(
path
:
String
,
isForDebugging
:
Boolean
=
false
,
body
:
ByteArray
?
=
null
,
requestId
:
String
=
UUID.randomUUID().toString()
,
retryCount
:
Int
=
6
)
:
Either
<
T
,
NetworkError
>