library/src/main/java/com/github/lykmapipo/retrofit/HttpService.java
@NonNull
    public static <S> S create(
            final Class<S> service, final String baseUrl,
            final AuthProvider authProvider,
            final Long timeout
    ) {
        // create provided service and return
        return create(
                service, baseUrl,
                authProvider, null,
                timeout
        );
    }
/**
     * Create an implementation of the API endpoints defined by the {@code service} interface.
     *
     * @param service      valid retrofit service definition
     * @param baseUrl      valid service base url
     * @param authProvider valid authentication provider
     * @param timeout      valid request(connect, read, write) timeout (in seconds). The default is 10 seconds.
     * @return an object of type S from the {@code service} creation
     */
Create an implementation of the API endpoints defined by the  service interface.
@param service      valid retrofit service definition
@param baseUrl      valid service base url
@param authProvider valid authentication provider
@param timeout      valid request(connect, read, write) timeout (in seconds). The default is 10 seconds.
@return an object of type S from the  service creation
Create an implementation of the API endpoints defined by the service interface . @param service valid retrofit service definition @param baseUrl valid service base url @param authProvider valid authentication provider @param timeout valid request ( connect read write ) timeout ( in seconds ) . The default is 10 seconds . @return an object of type S from the service creation
@NonNull
    public static <S> S create(
            final Class<S> service, final String baseUrl,
            final AuthProvider authProvider,
            final Long timeout
    ) {
        return create(
                service, baseUrl,
                authProvider, null,
                timeout
        );
    }
@ NonNull public static < S > S create ( final Class < S > service , final String baseUrl , final AuthProvider authProvider , final Long timeout ) { return create ( service , baseUrl , authProvider , null , timeout ) ; }
Create an implementation of the API endpoints defined by the {@code service} interface.
Create an implementation of the API endpoints defined by the { @code service } interface .
// create provided service and return