public final class EngineIoSocket
extends io.socket.emitter.Emitter
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this socket.
|
String |
getId()
Gets the sid of this socket.
|
Map<String,List<String>> |
getInitialHeaders()
Get the headers of the initial HTTP connection.
|
Map<String,String> |
getInitialQuery()
Get the query parameters of the initial HTTP connection.
|
ReadyState |
getReadyState()
Gets the ready state of this socket.
|
void |
send(io.socket.engineio.parser.Packet<?> packet)
Send a packet to the remote client.
|
public String getId()
public ReadyState getReadyState()
public Map<String,String> getInitialQuery()
public Map<String,List<String>> getInitialHeaders()
public void send(io.socket.engineio.parser.Packet<?> packet)
packet - The packet to send.public void close()
Copyright © 2021. All rights reserved.