I am writing my own custom interceptor using okhttp3 and I need to access the RealConnection noNewExchanges function but getting the following error:
error: cannot find symbol
realConnection.noNewExchanges();
^
symbol: method noNewExchanges()
location: variable realConnection of type RealConnection
I have placed the interceptor in the same package path as the RealConnection (okhttp3.internal.connection)