HttpStyleRequest constructor
HttpStyleRequest({
- required HttpRequest baseRequest,
- required Methods method,
- required RequestContext context,
- ContentType? contentType,
- Body? body,
Implementation
HttpStyleRequest(
{required this.baseRequest,
required Methods method,
required RequestContext context,
ContentType? contentType,
Body? body})
: super(
context: context,
body: body,
contentType: contentType,
cookies: baseRequest.cookies,
headers: _getHeaders(baseRequest.headers),
method: method);