DefaultLinkRequester

open class DefaultLinkRequester : ILinkRequester

This is a default implementation of the link requester that implement the execution of the HTTP request of a given url.

Instead of using this class, you can customize the link requester by implementing the ILinkRequester as below :


     class CustomLinkRequester implements ILinkRequester {

             public void doRequest(Context context, String url, Callback callback) {

             }
         }
     

Functions

Link copied to clipboard
open fun doRequest(    @NonNull context: Context,     @NonNull url: String,     @Nullable callback: ILinkRequester.Callback)