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 TypeMethodDescriptionvoid
Server.initialize
(SokletConfig sokletConfig, Server.RequestHandler requestHandler) void
ServerSentEventServer.initialize
(SokletConfig sokletConfig, ServerSentEventServer.RequestHandler requestHandler) TheSoklet
instance which manages thisServerSentEventServer
will invoke this method exactly once at initialization time - this allowsSoklet
to "talk" to yourServerSentEventServer
.static void
Soklet.runSimulator
(SokletConfig sokletConfig, Consumer<Simulator> simulatorConsumer) Runs Soklet with a special "simulator" server that is useful for integration testing.static Soklet
Soklet.withConfig
(SokletConfig sokletConfig) Acquires a Soklet instance with the given configuration.