Chain Akka-http-client requests in a Stream
问题 I would like to chain http request using akka-http-client as Stream. Each http request in a chain depends on a success/response of a previous requests and uses it to construct a new request. If a request is not successful, the Stream should return the response of the unsuccessful request. How can I construct such a stream in akka-http? which akka-http client level API should I use? 回答1: If you're making a web crawler, have a look at this post. This answer tackles a more simple case, such as