| 1325 | } |
| 1326 | |
| 1327 | void HttpAsyncClientRequest::setMultipart(HttpMultipartWriter& value) |
| 1328 | { |
| 1329 | bodyType = BodyType::Multipart; |
| 1330 | bodySpan = {}; |
| 1331 | bodyStream = nullptr; |
| 1332 | bodyTransform = nullptr; |
| 1333 | multipartWriter = &value; |
| 1334 | contentLength = value.getContentLength(); |
| 1335 | contentEncoding = HttpContentEncoding::Identity; |
| 1336 | chunkedTransferEncodingEnabled = false; |
| 1337 | } |
| 1338 | |
| 1339 | Result HttpAsyncClientRequest::sendHeaders(Function<void(AsyncBufferView::ID)> callback) |
| 1340 | { |