submitAsync

suspend fun submitAsync(path: String, method: HTTPMethod = HTTPMethod.POST): VGSResponse

This suspend method executes and send data on VGS Server on IO dispatcher.

Parameters

path

path for a request

method

HTTP method


suspend fun submitAsync(request: VGSRequest): VGSResponse

This suspend method executes and send data on VGS Server on IO dispatcher.

Parameters

request

data class with attributes for submit