org
.
scalajs
.
nodejs
.
net
SocketExtensions
Related Doc:
package net
implicit final
class
SocketExtensions
extends
AnyVal
Linear Supertypes
AnyVal
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SocketExtensions
AnyVal
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
SocketExtensions
(
socket:
Socket
)
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
connectFuture
(
port:
Int
,
host:
String
)
:
Promise
[
Unit
]
Annotations
@inline
()
def
connectFuture
(
port:
Int
)
:
Promise
[
Unit
]
Annotations
@inline
()
def
connectFuture
(
path:
String
)
:
Promise
[
Unit
]
Annotations
@inline
()
def
getClass
()
:
Class
[_ <:
AnyVal
]
Definition Classes
AnyVal → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
onClose
(
callback: (
Boolean
) ⇒
Any
)
:
Socket
Annotations
@inline
()
def
onConnect
(
callback:
Function
)
:
Socket
Annotations
@inline
()
def
onData
(
callback: (
Buffer
) ⇒
Any
)
:
Socket
Annotations
@inline
()
def
onDrain
(
callback:
Function
)
:
Socket
Annotations
@inline
()
def
onEnd
(
callback:
Function
)
:
Socket
Annotations
@inline
()
def
onLookup
(
callback: (
Error
,
String
,
String
,
String
) ⇒
Any
)
:
Socket
Annotations
@inline
()
def
onTimeout
(
callback:
Function
)
:
Socket
Annotations
@inline
()
val
socket
:
Socket
def
toString
()
:
String
Definition Classes
Any
Inherited from
AnyVal
Inherited from
Any
Ungrouped