Package | Description |
---|---|
io.socket.client |
Modifier and Type | Method and Description |
---|---|
Socket |
Socket.close()
Disconnects the socket.
|
Socket |
Socket.connect()
Connects the socket.
|
Socket |
Socket.disconnect()
Disconnects the socket.
|
Socket |
Socket.offAnyIncoming() |
Socket |
Socket.offAnyIncoming(io.socket.emitter.Emitter.Listener fn) |
Socket |
Socket.offAnyOutgoing() |
Socket |
Socket.offAnyOutgoing(io.socket.emitter.Emitter.Listener fn) |
Socket |
Socket.onAnyIncoming(io.socket.emitter.Emitter.Listener fn) |
Socket |
Socket.onAnyOutgoing(io.socket.emitter.Emitter.Listener fn) |
Socket |
Socket.open()
Connects the socket.
|
Socket |
Socket.send(Object... args)
Send messages.
|
Socket |
Manager.socket(String nsp) |
static Socket |
IO.socket(String uri) |
static Socket |
IO.socket(String uri,
IO.Options opts) |
Socket |
Manager.socket(String nsp,
Manager.Options opts)
Initializes
Socket instances for each namespaces. |
static Socket |
IO.socket(URI uri) |
static Socket |
IO.socket(URI uri,
IO.Options opts)
|
Copyright © 2022. All rights reserved.