package net
net package object
- Alphabetic
- By Inheritance
- net
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Address extends Object
Server IP Address
Server IP Address
- Annotations
- @JSType() @native()
- type ConnectOptions = ConnectionOptions
-
trait
ListenerOptions extends Object
- Annotations
- @JSType()
-
trait
Net extends Object
net - The net module provides you with an asynchronous network wrapper.
net - The net module provides you with an asynchronous network wrapper. It contains functions for creating both servers and clients (called streams).
- Annotations
- @JSType() @native()
- See also
https://nodejs.org/api/net.html
-
class
Server extends Object with IEventEmitter
net.Server - This class is used to create a TCP or local server.
net.Server - This class is used to create a TCP or local server.
- Annotations
- @JSType() @native() @JSImport( "net" , "Server" )
- See also
https://nodejs.org/api/net.html#net_class_net_server
-
implicit final
class
ServerExtensions[T <: Server] extends AnyVal
net.Server Events
-
trait
ServerOptions extends Object
- Annotations
- @JSType()
-
class
Socket extends Duplex with HasHandle
net.Socket - This object is an abstraction of a TCP or local socket.
net.Socket - This object is an abstraction of a TCP or local socket. net.Socket instances implement a duplex Stream interface. They can be created by the user and used as a client (with connect()) or they can be created by Node.js and passed to the user through the 'connection' event of a server.
- Annotations
- @JSType() @native() @JSImport( "net" , "Socket" )
-
implicit final
class
SocketExtensions[T <: Socket] extends AnyVal
net.Socket Extensions
-
trait
SocketOptions extends Object
- Annotations
- @JSType()
Value Members
- object ListenerOptions
-
object
Net extends Object with Net
Net Singleton
Net Singleton
- Annotations
- @native() @JSImport( "net" , JSImport.Namespace )
- object ServerOptions
- object SocketOptions