sendKrosstalkRequest

abstract suspend fun sendKrosstalkRequest(url: String, httpMethod: String, contentType: String, additionalHeaders: Headers, body: ByteArray?, scopes: List<AppliedClientScope<C, *>>): InternalKrosstalkResponse

Send a krosstalk request to the server.

Return

The result of the request.

Parameters

url

The endpoint to send it to.

httpMethod

The HTTP method (i.e. GET, POST) to use.

contentType

the content type of the body

additionalHeaders

additional headers to set on the request

body

The body to send, or null if a body shouldn't be sent.

scopes

The scopes to apply to the request.

Sources

Link copied to clipboard