spray-client Questions
1
I’m making a call to an API, but most of the time I keep getting an error: “Dropping Close since the SSL connection is already closing” and “Premature connection close (the server doesn't appear to...
Prohibit asked 1/4, 2015 at 17:39
2
Solved
I'm using Akka actors in Scala to download resources from external service (HTTP get request). Response from external service is JSON and I have to use paging (provider is very slow). I want to dow...
Unreality asked 7/8, 2014 at 6:54
1
Solved
I have this two erros:
Error:(39, 20) Cannot find an implicit ExecutionContext. You might pass
an (implicit ec: ExecutionContext) parameter to your method
or import scala.concurrent.ExecutionConte...
Puerperal asked 23/10, 2015 at 13:52
1
Solved
spray-client throwing "Too many open files" exception when giving more concurrent requests
I have a spray http client which is running in a server X, which will make connections to server Y. Server Y is kind of slow(will take 3+ sec for a request)
This is my http client code invocation:
...
Adrianople asked 29/3, 2015 at 1:18
1
I want to use Spray to post to a server a multipart form. In particular I want to post an Image.
What Im having trouble with is the Marshalling of the File to Multipart. Even though in Spray they ...
Fiora asked 12/6, 2013 at 21:59
1
Solved
Using spray 1.3.2 with akka 2.3.6. (akka is used only for spray).
I need to read huge files and for each line make a http request.
I read the files line by line with iterator, and for each item mak...
Lylelyles asked 16/11, 2014 at 16:1
2
Solved
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 reques...
Readable asked 4/9, 2013 at 16:53
2
Solved
I have a simple spray client :
val pipeline = sendReceive ~> unmarshal[GoogleApiResult[Elevation]]
val responseFuture = pipeline {Get("http://maps.googleapis.com/maps/api/elevation/jsonlocatio...
Condensable asked 16/5, 2013 at 10:49
1
© 2022 - 2024 — McMap. All rights reserved.