package dgram
- Alphabetic
- By Inheritance
- dgram
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait BindOptions extends Object
- Annotations
- @JSType()
- type BufferMessage = |[Uint8Array, Array[Uint8Array]]
- trait Dgram extends Object
- Annotations
- @JSType() @native()
- type Message = |[BufferMessage, StringMessage]
- trait RemoteAddress extends Object
- Annotations
- @JSType() @native()
- trait RemoteAddressInfo extends Object
- Annotations
- @JSType() @native()
- class Socket extends Object with IEventEmitter
The dgram.Socket object is an EventEmitter that encapsulates the datagram functionality.
The dgram.Socket object is an EventEmitter that encapsulates the datagram functionality.
New instances of dgram.Socket are created using dgram.createSocket(). The new keyword is not to be used to create dgram.Socket instances.
- Annotations
- @JSType() @native() @JSImport("dgram", "Socket")
- implicit final class SocketExtensions[T <: Socket] extends AnyVal
- trait SocketOptions extends Object
- Annotations
- @JSType()
- type StringMessage = |[String, Array[String]]
Value Members
- object BindOptions
- object Dgram extends Object with Dgram
- Annotations
- @native() @JSImport("dgram", JSImport.Namespace)
- object SocketOptions