Dart Documentationhttp_serverHttpClientResponseBody

HttpClientResponseBody abstract class

The HttpBody of a HttpClientResponse will be of type HttpClientResponseBody. It contains the HttpClientResponse object for access to the headers.

abstract class HttpClientResponseBody extends HttpBody {
 /**
  * The [HttpClientResponse] from which the [HttpClientResponseBody] was
  * created.
  */
 HttpClientResponse get response;
}

Extends

HttpBody > HttpClientResponseBody

Properties

final body #

inherited from HttpBody

The actual body. The type depends on type.

dynamic get body;

final HttpClientResponse response #

The HttpClientResponse from which the HttpClientResponseBody was created.

HttpClientResponse get response;

final String type #

inherited from HttpBody

A high-level type value, that reflects how the body was parsed, e.g. "text", "binary" and "json".

String get type;