implicit final class SocketEnrichment extends AnyVal
Client socket enrichment
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SocketEnrichment
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
onConnect(handler: () ⇒ Any): socket.type
- Annotations
- @inline()
-
def
onDisconnect(handler: () ⇒ Any): socket.type
Fired upon disconnection.
Fired upon disconnection.
- handler
a function containing the reason of the disconnection (either client or server-side)
- Annotations
- @inline()
-
def
onDisconnecting(handler: () ⇒ Any): socket.type
Fired when the client is going to be disconnected (but hasn't left its rooms yet).
Fired when the client is going to be disconnected (but hasn't left its rooms yet).
- handler
a function containing the reason of the disconnection (either client or server-side)
- Annotations
- @inline()
-
def
onError(handler: (Any) ⇒ Any): socket.type
Fired when an error occurs.
Fired when an error occurs.
- handler
a function containing error data
-
def
onEvent(handler: (Any) ⇒ Any): socket.type
- Annotations
- @inline()
- val socket: Socket
-
def
toString(): String
- Definition Classes
- Any