Uses of Class
io.socket.client.SocketOptionBuilder
-
Uses of SocketOptionBuilder in io.socket.client
Modifier and TypeMethodDescriptionstatic SocketOptionBuilder
IO.Options.builder()
Retrieve new builder class that helps creating socket option as builder pattern.static SocketOptionBuilder
SocketOptionBuilder.builder()
Construct new builder with default preferences.static SocketOptionBuilder
SocketOptionBuilder.builder
(IO.Options options) Construct this builder from specified option object.SocketOptionBuilder.setExtraHeaders
(Map<String, List<String>> extraHeaders) SocketOptionBuilder.setForceNew
(boolean forceNew) SocketOptionBuilder.setHostname
(String hostname) SocketOptionBuilder.setMultiplex
(boolean multiplex) SocketOptionBuilder.setPolicyPort
(int policyPort) SocketOptionBuilder.setPort
(int port) SocketOptionBuilder.setRandomizationFactor
(double randomizationFactor) SocketOptionBuilder.setReconnection
(boolean reconnection) SocketOptionBuilder.setReconnectionAttempts
(int reconnectionAttempts) SocketOptionBuilder.setReconnectionDelay
(long reconnectionDelay) SocketOptionBuilder.setReconnectionDelayMax
(long reconnectionDelayMax) SocketOptionBuilder.setRememberUpgrade
(boolean rememberUpgrade) SocketOptionBuilder.setSecure
(boolean secure) SocketOptionBuilder.setTimeout
(long timeout) SocketOptionBuilder.setTransports
(String[] transports) SocketOptionBuilder.setUpgrade
(boolean upgrade)