kvision / pl.treksoft.kvision.remote / Request

Request

expect interface Request

A server request.

Extension Functions

async

fun <RESP> Request?.async(block: (Request) -> RESP): Deferred<RESP>

A helper extension function for asynchronous request processing.

fun <RESP> Request?.async(block: (Request, <ERROR CLASS>) -> RESP): Deferred<RESP>

A helper extension function for asynchronous request processing with session.

fun <RESP> Request?.async(block: (Request, <ERROR CLASS>, Profile) -> RESP): Deferred<RESP>

A helper extension function for asynchronous request processing with session and user profile.