@InterfaceAudience.Public @InterfaceStability.Experimental public interface CouchbaseCoreSendHook
CouchbaseRequest
in the
path of the CouchbaseCore.send(CouchbaseRequest)
method.Modifier and Type | Method and Description |
---|---|
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.
|
@InterfaceAudience.Public @InterfaceStability.Experimental Tuple2<CouchbaseRequest,rx.Observable<CouchbaseResponse>> beforeSend(CouchbaseRequest originalRequest, rx.Observable<CouchbaseResponse> originalResponse)
originalRequest
- the original requestoriginalResponse
- the original response.Copyright © 2021 Couchbase, Inc.. All rights reserved.