WeatherService
protocol WeatherService
Weather service
-
Get weather
Declaration
Swift
func getWeather(location: CLLocation) -> Promise<WeatherForecastResponse, ServiceError>Parameters
locationlocation
Return Value
Promise of WeatherForecastResponse or CurlError
WeatherService Protocol Reference