Back to project page android-sdk.
The source code is released under:
MIT License
If you think the Android project android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.relayr.websocket; /*from www .j a v a 2 s . c om*/ import javax.inject.Singleton; import dagger.Module; import dagger.Provides; import io.relayr.api.MockBackend; @Module( complete = false, library = true ) public class DebugWebSocketModule { @Provides @Singleton WebSocketFactory provideWebSocketFactory(MockBackend loader) { return new MockWebSocketFactory(loader); } }