HttpRequestBody abstract class
The HttpBody of a HttpRequest will be of type HttpRequestBody. It provides access to the request, for reading all request header information and responding to the client.
abstract class HttpRequestBody extends HttpBody { /** * The [HttpRequest] from which the [HttpRequestBody] was created. * * Note that the [HttpRequest] is already drained at this point, so the * `Stream` methods cannot be used. */ HttpRequest get request; }
Extends
HttpBody > HttpRequestBody
Properties
final HttpRequest request #
The HttpRequest from which the HttpRequestBody was created.
Note that the HttpRequest is already drained at this point, so the
Stream
methods cannot be used.
HttpRequest get request;