read

fun read(): Duration

The maximum time allowed between two data packets when waiting for the server’s response.

A value of Duration.ZERO means there's no timeout.

Defaults to request().