Package | Description |
---|---|
io.socket.socketio.server |
Modifier and Type | Field and Description |
---|---|
static SocketIoServerOptions |
SocketIoServerOptions.DEFAULT
The default options used by server.
|
Modifier and Type | Method and Description |
---|---|
static SocketIoServerOptions |
SocketIoServerOptions.newFromDefault()
Create a new instance of
SocketIoServerOptions by copying
default options. |
SocketIoServerOptions |
SocketIoServerOptions.setAdapterFactory(SocketIoAdapter.AdapterFactory adapterFactory)
Sets the adapter factory instance.
|
SocketIoServerOptions |
SocketIoServerOptions.setConnectionTimeout(long connectionTimeout)
Sets the amount of time to wait (ms) before a client without namespace is closed.
|
Constructor and Description |
---|
SocketIoServer(io.socket.engineio.server.EngineIoServer server,
SocketIoServerOptions options)
Create instance of server with provided options.
|
Copyright © 2022. All rights reserved.