All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.relayr.java.websocket.DebugWebSocketModule Maven / Gradle / Ivy

The newest version!
package io.relayr.java.websocket;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import io.relayr.java.api.mock.MockBackend;

@Module(
        complete = false,
        library = true
)
public class DebugWebSocketModule {

    @Provides @Singleton WebSocketFactory provideWebSocketFactory(MockBackend loader) {
        return new MockWebSocketFactory(loader);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy