Using an HTTP Client

I have problems with sample code:

suspend fun fetchFlight(): String {
val client = HttpClient(CIO)
return client.get’String’(FLIGHT_ENDPOINT)

It gives errors as it is, complains about this part: ‘String’ (supposed to be<> but formating hides it)
It accepts only this code, but also returns response(HttpResponse[http://kotlin-book.bignerdranch.com/2e/flight, 200 OK]), not expected data:

suspend fun fetchFlight(): String {
val client = HttpClient(CIO)
val flightResponse = client.get(FLIGHT_ENDPOINT)
return “$flightResponse”

Should I just ignore the whole chapter and look for information somewhere else? Its extremely frustrating I waste time I don’t have on outdated information.