Razi Kheir
07/04/2019, 2:14 AMdave
07/04/2019, 5:44 AMdave
07/04/2019, 5:46 AMs4nchez
07/04/2019, 7:24 AMinvoke
in the interface is to make the interface act as a factory.
Regarding creating a custom request, yes, you need to override the whole interface because Request is expected to be immutable, so on every change you need to create a new instance of your specific implementation.dave
07/04/2019, 7:26 AMdata class RoutedRequest(private val delegate: Request, val xUriTemplate: UriTemplate) : Request by delegate
Razi Kheir
07/05/2019, 12:26 AMRazi Kheir
07/05/2019, 12:27 AMdave
07/05/2019, 4:58 AM