send

open fun send()

Send this HTTP request to the server, and wait for a response. If {@link com.sap.cloud.mobile.kotlin.odata.http.HttpRequest#streamResponse HttpRequest.streamResponse} is true, then waiting is only until response headers come back, and response content may be streamed as it is accessed. If an application calls this function, then it must also call {@link com.sap.cloud.mobile.kotlin.odata.http.HttpRequest#close() HttpRequest.close} after accessing all desired response content, to avoid resource leaks.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.http.HttpException}.