| 253 | return beginRequestSend(); |
| 254 | } |
| 255 | |
| 256 | return closeConnectionForReconnect(); |
| 257 | } |
| 258 | |
| 259 | Result HttpAsyncClient::closeConnectionForReconnect() |
| 260 | { |
| 261 | reconnectPending = true; |
| 262 | state = State::Connecting; |
| 263 | |
| 264 | if (transportShutdown.isValid()) |
| 265 | { |
| 266 | Function<void(Result)> complete = {[this](Result result) { onReconnectTransportShutdown(result); }}; |
| 267 | Result shutdown = transportShutdown(move(complete)); |
| 268 | if (not shutdown) |
| 269 | { |
| 270 | reconnectPending = false; |
nothing calls this directly
no test coverage detected