public final class SocketIoServer extends Object
| Constructor and Description | 
|---|
| SocketIoServer(io.socket.engineio.server.EngineIoServer server)Create instance of server with default options. | 
| SocketIoServer(io.socket.engineio.server.EngineIoServer server,
              SocketIoServerOptions options)Create instance of server with provided options. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasNamespace(String namespace)Checks if the given namespace has been created. | 
| SocketIoNamespace | namespace(Pattern namespaceRegex) | 
| SocketIoNamespace | namespace(SocketIoNamespaceProvider namespaceProvider) | 
| SocketIoNamespace | namespace(String namespace)Retrieve instance of namespace with specified name. | 
public SocketIoServer(io.socket.engineio.server.EngineIoServer server)
server - The underlying engine.io server.public SocketIoServer(io.socket.engineio.server.EngineIoServer server,
                      SocketIoServerOptions options)
server - The underlying engine.io server.options - Server options.public boolean hasNamespace(String namespace)
namespace - Name of namespace with or without '/' prefix.public SocketIoNamespace namespace(String namespace)
namespace - Name of namespace with or without '/' prefix.public SocketIoNamespace namespace(SocketIoNamespaceProvider namespaceProvider)
public SocketIoNamespace namespace(Pattern namespaceRegex)
Copyright © 2022. All rights reserved.