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 TypeMethodDescriptionvoidServer.initialize(SokletConfig sokletConfig, Server.RequestHandler requestHandler) voidServerSentEventServer.initialize(SokletConfig sokletConfig, ServerSentEventServer.RequestHandler requestHandler) TheSokletinstance which manages thisServerSentEventServerwill invoke this method exactly once at initialization time - this allowsSokletto "talk" to yourServerSentEventServer.static voidSoklet.runSimulator(SokletConfig sokletConfig, Consumer<Simulator> simulatorConsumer) Runs Soklet with special non-network "simulator" implementations ofServerandServerSentEventServer- useful for integration testing.static SokletSoklet.withConfig(SokletConfig sokletConfig) Acquires a Soklet instance with the given configuration.