February 2018
Intermediate to advanced
552 pages
13h 46m
English
Here, Request is an input to that service call. It can be any of the Scala built-in types or any user-defined types, as follows:
ServiceCall[String, Response]
This service call has an input of the String type.
The response is an output to that service call. Like input, it can be any of the Scala built-in types or any user-defined type, as shown here:
ServiceCall[String, String]
This service call has an input of the String type and an output of the String type.
If we don't want to specify a type of ServiceCall input, we define its input of type akka.NotUsed, as shown here:
ServiceCall[NotUsed, WeatherForcasting]
This service call does not have an input; however, it has an output of the WeatherForecasting type (user-defined type). ...
Read now
Unlock full access