toggle menu
apollo-kdoc
4.1.1-SNAPSHOT
4.1.1-SNAPSHOT
3.8.2
common
switch theme
search in API
apollo-runtime
/
com.apollographql.apollo.network.http
/
HttpCall
Http
Call
class
HttpCall
(
engine
:
HttpEngine
,
method
:
HttpMethod
,
url
:
String
)
Members
Constructors
Http
Call
Link copied to clipboard
constructor
(
engine
:
HttpEngine
,
method
:
HttpMethod
,
url
:
String
)
Functions
add
Execution
Context
Link copied to clipboard
fun
addExecutionContext
(
executionContext
:
ExecutionContext
)
:
HttpCall
add
Header
Link copied to clipboard
fun
addHeader
(
name
:
String
,
value
:
String
)
:
HttpCall
add
Headers
Link copied to clipboard
fun
addHeaders
(
headers
:
List
<
HttpHeader
>
)
:
HttpCall
body
Link copied to clipboard
fun
body
(
body
:
HttpBody
)
:
HttpCall
execute
Link copied to clipboard
suspend
fun
execute
(
)
:
HttpResponse
headers
Link copied to clipboard
fun
headers
(
headers
:
List
<
HttpHeader
>
)
:
HttpCall