Can I set a timeout and number of retries on a specific pipeline request?
问题 When using spray's pipelining to make an HTTP request like this: val urlpipeline = sendReceive ~> unmarshal[String] urlpipeline { Get(url) } is there a way to specify a timeout for the request and the number of times it should retry for that specific request? All the documentation I've found only references doing in a config (and even then I can't seem to get it to work). thx 回答1: With the configuration file I use Spray 1.2.0 in an Akka system. Inside my actor, I import the existing Akka