abstract fun <U : Any> as(responseCodec: BodyCodec<U>): HttpRequest<U>
Configure the request to decode the response with the responseCodec.
responseCodec
responseCodec - the response codec
Return a reference to this, so the API can be used fluently