Sets a timeout for HTTP requests, in seconds.
Perform an HTTP request.
Perform an HTTP request.
Not even documenting the params yet because I'm in the midst of refactoring the hell out of this :-)
Shuts down HTTP client resources.
Shuts down HTTP client resources.
Disconnects any remaining connections. Both idle and active. If you are accessing Keen through a proxy that keeps connections alive this is useful.
If HttpAdapterSpray's default ActorSystem is in use, it will be shut
down; if a custom ActorSystem has been supplied, it will not.
An HttpAdapter built on HTTP client support of the Spray HTTP toolkit.
Akka and Actor Systems
Spray is built upon Akka I/O and uses an Akka ActorSystem to handle HTTP I/O. By default,
HttpAdapterSpraycreates anActorSystemfor its own use so that it works out of the box. If you are using it within an Akka application, however, it is possible to specify theActorSystemwithin which it will run using an implicit parameter.Using a custom ActorSystem, implicitly for a scope
Using a custom ActorSystem
Move the timeout constructor param to config