@@ -26,9 +26,9 @@ case class RequestConfig(url: String,
26
26
connectTimeout : Int ,
27
27
readTimeout : Int )
28
28
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 ) = ...
32
32
33
33
// Call with individual parameters
34
34
val data = downloadSimple(" www.example.com" , 1000 , 10000 )
@@ -62,14 +62,14 @@ case class RequestConfig(url: String,
62
62
63
63
def downloadSimple (url : String ,
64
64
connectTimeout : Int ,
65
- readTimeout : Int ) = doSomethingWith( ...)
65
+ readTimeout : Int ) = ...
66
66
def downloadAsync (url : String ,
67
67
connectTimeout : Int ,
68
68
readTimeout : Int ,
69
- ec : ExecutionContext ) = doSomethingWith( ...)
69
+ ec : ExecutionContext ) = ...
70
70
def downloadStream (url : String ,
71
71
connectTimeout : Int ,
72
- readTimeout : Int ) = doSomethingWith( ...)
72
+ readTimeout : Int ) = ...
73
73
74
74
// Call with individual parameters
75
75
val data = downloadSimple(" www.example.com" , 1000 , 10000 )
@@ -116,9 +116,9 @@ case class RequestConfig(url: String,
116
116
connectTimeout : Int ,
117
117
readTimeout : Int )
118
118
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 ) = ...
122
122
123
123
// Call with individual parameters
124
124
val data = downloadSimple(RequestConfig (" www.example.com" , 1000 , 10000 ))
@@ -158,9 +158,9 @@ case class TimeoutConfig(connectTimeout: Int,
158
158
readTimeout : Int )
159
159
case class AsyncConfig (retry : Boolean , ec : ExecutionContext )
160
160
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 ) = ...
164
164
165
165
// Call with individual parameters
166
166
val data = downloadSimple(RequestConfig (" www.example.com" , TimeoutConfig (1000 , 10000 )))
@@ -202,9 +202,9 @@ case class TimeoutConfig(connectTimeout: Int,
202
202
readTimeout : Int )
203
203
case class AsyncConfig (retry : Boolean , ec : ExecutionContext )
204
204
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 ) = ...
208
208
209
209
// Call with individual parameters
210
210
val data = downloadSimple(" www.example.com" , 1000 , 10000 )
0 commit comments