Package io.socket.engineio.server
Interface EngineIoServer.HandshakeInterceptor
- Enclosing class:
EngineIoServer
public static interface EngineIoServer.HandshakeInterceptor
-
Method Summary
-
Method Details
-
intercept
Intercept and either allow or block the connection. If blocked, a bad request error is returned to the client.- Parameters:
query- Query parameters of the connection.headers- Headers in the connection request.- Returns:
- Return true to allow the connection or false to block.
-