request

suspend fun <T : RequestResult> request(request: Request, options: RequestOptions? = null): T(source)

Sends a request and waits for a response.

Do not use this method to emit notifications! Use notification() instead.