| 341 | } |
| 342 | |
| 343 | void SC::HttpTestClient::startSendingBody(AsyncLoopTimeout::Result&) |
| 344 | { |
| 345 | sendAsync.callback.bind<HttpTestClient, &HttpTestClient::startReceiveResponse>(*this); |
| 346 | Span<const char> bodySpan; |
| 347 | SC_ASSERT_RELEASE(content.toSpanConst().sliceStart(headerBytes, bodySpan)); |
| 348 | auto res = sendAsync.start(*eventLoop, clientSocket, bodySpan); |
| 349 | SC_ASSERT_RELEASE(res); |
| 350 | } |
| 351 | |
| 352 | void SC::HttpTestClient::startReceiveResponse(AsyncSocketSend::Result& result) |
| 353 | { |
nothing calls this directly
no test coverage detected