Interface CouchbaseCoreSendHook

    • Method Detail

      • beforeSend

        Tuple2<CouchbaseRequest,​rx.Observable<CouchbaseResponse>> beforeSend​(CouchbaseRequest originalRequest,
                                                                                   rx.Observable<CouchbaseResponse> originalResponse)
        Allows to hook in before the send method on core, make sure to return either the original tuple or the modified ones from the originals. This is fairly advanced API, use with care!
        originalRequest - the original request
        originalResponse - the original response.