fs2.internal.jsdeps.node.netMod

Type members

Classlikes

@native @JSType
trait AddressInfo extends StObject
Companion
object
object AddressInfo
Companion
class
@JSImport("net", "BlockList") @native @JSType
class BlockList() extends StObject
@native @JSType
trait ConnectOpts extends StObject
Companion
object
object ConnectOpts
Companion
class
@JSType
trait IPVersion extends StObject
Companion
object
object IPVersion
Companion
class
@native @JSType
Companion
object
Companion
class
@native @JSType
trait IpcSocketConnectOpts extends StObject with ConnectOpts with SocketConnectOpts
Companion
object
Companion
class
@native @JSType
trait ListenOptions extends StObject with Abortable
Companion
object
Companion
class
@JSType
trait NetConnectOpts extends StObject
Companion
object
Companion
class
@native @JSType
trait OnReadOpts extends StObject
Companion
object
object OnReadOpts
Companion
class
@JSImport("net", "Server") @native @JSType
class Server() extends StObject with SendHandle
@native @JSType
trait ServerOpts extends StObject
Companion
object
object ServerOpts
Companion
class
@JSImport("net", "Socket") @native @JSType
class Socket() extends StObject with SendHandle
@JSImport("net", "SocketAddress") @native @JSType
class SocketAddress extends StObject

Immutable socket address.

Immutable socket address.

@native @JSType
trait SocketAddressInitOptions extends StObject
Companion
object
@JSType
trait SocketConnectOpts extends StObject
Companion
object
Companion
class
@native @JSType
trait SocketConstructorOpts extends StObject
Companion
object
@native @JSType
Companion
object
Companion
class
@native @JSType
trait TcpSocketConnectOpts extends StObject with ConnectOpts with SocketConnectOpts
Companion
object
Companion
class
@JSImport("net") @native @JSType
object ^ extends StObject

Types

type LookupFunction = Function3[String, LookupOneOptions, Function3[ErrnoException | Null, String, Double, Unit], Unit]

Value members

Concrete methods

@inline
def connect(options: NetConnectOpts): Socket
@inline
def connect(options: NetConnectOpts, connectionListener: Function0[Unit]): Socket
@inline
def connect(path: String): Socket
@inline
def connect(path: String, connectionListener: Function0[Unit]): Socket
@inline
def connect(port: Double): Socket
@inline
def connect(port: Double, host: String): Socket
@inline
def connect(port: Double, host: String, connectionListener: Function0[Unit]): Socket
@inline
def connect(port: Double, host: Unit, connectionListener: Function0[Unit]): Socket
@inline
@inline
def createConnection(options: NetConnectOpts, connectionListener: Function0[Unit]): Socket
@inline
def createConnection(path: String): Socket
@inline
def createConnection(path: String, connectionListener: Function0[Unit]): Socket
@inline
def createConnection(port: Double): Socket
@inline
def createConnection(port: Double, host: String): Socket
@inline
def createConnection(port: Double, host: String, connectionListener: Function0[Unit]): Socket
@inline
def createConnection(port: Double, host: Unit, connectionListener: Function0[Unit]): Socket
@inline
@inline
def createServer(connectionListener: Function1[Socket, Unit]): Server
@inline
@inline
def createServer(options: ServerOpts, connectionListener: Function1[Socket, Unit]): Server
@inline
def createServer(options: Unit, connectionListener: Function1[Socket, Unit]): Server
@inline
def isIP(input: String): Double
@inline
def isIPv4(input: String): Boolean
@inline
def isIPv6(input: String): Boolean