Uses of Class
com.soklet.SokletConfig
Packages that use SokletConfig
-
Uses of SokletConfig in com.soklet
Methods in com.soklet that return SokletConfigMethods in com.soklet with parameters of type SokletConfigModifier and TypeMethodDescriptionSoklet.fromConfig(@NonNull SokletConfig sokletConfig) Acquires a Soklet instance with the given configuration.voidServer.initialize(@NonNull SokletConfig sokletConfig, @NonNull Server.RequestHandler requestHandler) voidServerSentEventServer.initialize(@NonNull SokletConfig sokletConfig, @NonNull ServerSentEventServer.RequestHandler requestHandler) TheSokletinstance which manages thisServerSentEventServerwill invoke this method exactly once at initialization time - this allowsSokletto "talk" to yourServerSentEventServer.static voidSoklet.runSimulator(@NonNull SokletConfig sokletConfig, @NonNull Consumer<Simulator> simulatorConsumer) Runs Soklet with special non-network "simulator" implementations ofServerandServerSentEventServer- useful for integration testing.