Package | Description |
---|---|
io.socket.engineio.server |
Main engine.io classes.
|
Modifier and Type | Field and Description |
---|---|
static EngineIoServerOptions |
EngineIoServerOptions.DEFAULT
The default options used by server.
|
Modifier and Type | Method and Description |
---|---|
EngineIoServerOptions |
EngineIoServer.getOptions()
Gets the configured options for this server instance.
|
static EngineIoServerOptions |
EngineIoServerOptions.newFromDefault()
Create a new instance of
EngineIoServerOptions by copying
default options. |
EngineIoServerOptions |
EngineIoServerOptions.setAllowedCorsOrigins(String[] allowedCorsOrigins)
Sets the allowed CORS origins option.
|
EngineIoServerOptions |
EngineIoServerOptions.setAllowSyncPolling(boolean allowSyncPolling)
Sets whether sync polling transport is allowed or not.
|
EngineIoServerOptions |
EngineIoServerOptions.setCorsHandlingDisabled(boolean corsHandlingDisabled)
Sets the 'isCorsHandlingDisabled' option.
|
EngineIoServerOptions |
EngineIoServerOptions.setInitialPacket(Packet<?> initialPacket)
Sets the initial packet.
|
EngineIoServerOptions |
EngineIoServerOptions.setMaxTimeoutThreadPoolSize(int maxTimeoutThreadPoolSize)
Sets the max threadpool size for the ping timeout timers.
|
EngineIoServerOptions |
EngineIoServerOptions.setPingInterval(long pingInterval)
Sets the ping interval option.
|
EngineIoServerOptions |
EngineIoServerOptions.setPingTimeout(long pingTimeout)
Sets the ping timeout option.
|
Constructor and Description |
---|
EngineIoServer(EngineIoServerOptions options)
Create instance of server with specified options.
|
Copyright © 2022. All rights reserved.