@@ -26,9 +26,9 @@ case class RequestConfig(url: String,
2626 connectTimeout : Int ,
2727 readTimeout : Int )
2828
29- def downloadSimple (unpack config : RequestConfig ) = doSomethingWith(config)
30- def downloadAsync (unpack config : RequestConfig , ec : ExecutionContext ) = doSomethingWith(config)
31- def downloadStream (unpack config : RequestConfig ) = doSomethingWith(config)
29+ def downloadSimple (unpack config : RequestConfig ) = ...
30+ def downloadAsync (unpack config : RequestConfig , ec : ExecutionContext ) = ...
31+ def downloadStream (unpack config : RequestConfig ) = ...
3232
3333// Call with individual parameters
3434val data = downloadSimple(" www.example.com" , 1000 , 10000 )
@@ -62,14 +62,14 @@ case class RequestConfig(url: String,
6262
6363def downloadSimple (url : String ,
6464 connectTimeout : Int ,
65- readTimeout : Int ) = doSomethingWith( ...)
65+ readTimeout : Int ) = ...
6666def downloadAsync (url : String ,
6767 connectTimeout : Int ,
6868 readTimeout : Int ,
69- ec : ExecutionContext ) = doSomethingWith( ...)
69+ ec : ExecutionContext ) = ...
7070def downloadStream (url : String ,
7171 connectTimeout : Int ,
72- readTimeout : Int ) = doSomethingWith( ...)
72+ readTimeout : Int ) = ...
7373
7474// Call with individual parameters
7575val data = downloadSimple(" www.example.com" , 1000 , 10000 )
@@ -116,9 +116,9 @@ case class RequestConfig(url: String,
116116 connectTimeout : Int ,
117117 readTimeout : Int )
118118
119- def downloadSimple (config : RequestConfig ) = doSomethingWith(config)
120- def downloadAsync (config : RequestConfig , ec : ExecutionContext ) = doSomethingWith(config)
121- def downloadStream (config : RequestConfig ) = doSomethingWith(config)
119+ def downloadSimple (config : RequestConfig ) = ...
120+ def downloadAsync (config : RequestConfig , ec : ExecutionContext ) = ...
121+ def downloadStream (config : RequestConfig ) = ...
122122
123123// Call with individual parameters
124124val data = downloadSimple(RequestConfig (" www.example.com" , 1000 , 10000 ))
@@ -158,9 +158,9 @@ case class TimeoutConfig(connectTimeout: Int,
158158 readTimeout : Int )
159159case class AsyncConfig (retry : Boolean , ec : ExecutionContext )
160160
161- def downloadSimple (config : RequestConfig ) = doSomethingWith(config)
162- def downloadAsync (config : RequestConfig , asyncConfig : AsyncConfig ) = doSomethingWith(config, asyncConfig)
163- def downloadStream (config : RequestConfig , asyncConfig : AsyncConfig ) = doSomethingWith(config, asyncConfig)
161+ def downloadSimple (config : RequestConfig ) = ...
162+ def downloadAsync (config : RequestConfig , asyncConfig : AsyncConfig ) = ...
163+ def downloadStream (config : RequestConfig , asyncConfig : AsyncConfig ) = ...
164164
165165// Call with individual parameters
166166val data = downloadSimple(RequestConfig (" www.example.com" , TimeoutConfig (1000 , 10000 )))
@@ -202,9 +202,9 @@ case class TimeoutConfig(connectTimeout: Int,
202202 readTimeout : Int )
203203case class AsyncConfig (retry : Boolean , ec : ExecutionContext )
204204
205- def downloadSimple (unpack config : RequestConfig ) = doSomethingWith(config)
206- def downloadAsync (unpack config : RequestConfig , unpack asyncConfig : AsyncConfig ) = doSomethingWith(config, asyncConfig)
207- def downloadStream (unpack config : RequestConfig , unpack asyncConfig : AsyncConfig ) = doSomethingWith(config, asyncConfig)
205+ def downloadSimple (unpack config : RequestConfig ) = ...
206+ def downloadAsync (unpack config : RequestConfig , unpack asyncConfig : AsyncConfig ) = ...
207+ def downloadStream (unpack config : RequestConfig , unpack asyncConfig : AsyncConfig ) = ...
208208
209209// Call with individual parameters
210210val data = downloadSimple(" www.example.com" , 1000 , 10000 )
0 commit comments