class Requests {

    public static LiveHttpRequest doOnComplete(LiveHttpRequest request, Runnable action) {
        return request.newBuilder()
                .body(it -> it.doOnEnd(ifSuccessful(action)))
                .build();
    }

    private  Requests();

}