Packages

class Server extends nodeNetMod.Server with HttpBase

Annotations
@JSType() @JSImport("http", "Server") @native()
Linear Supertypes
HttpBase, nodeNetMod.Server, SendHandle, netMod.Server, ^, ^, EventEmitter, StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Server
  2. HttpBase
  3. Server
  4. SendHandle
  5. Server
  6. ^
  7. ^
  8. EventEmitter
  9. StObject
  10. Object
  11. Any
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Server(options: ServerOptions, requestListener: RequestListener)
  2. new Server(requestListener: RequestListener)
  3. new Server(options: ServerOptions)
  4. new Server()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addListener(event: Symbol, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  5. def addListener(event: String, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  6. def addListener_close(event: close, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("addListener")
  7. def addListener_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("addListener")
  8. def addListener_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("addListener")
  9. def addListener_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("addListener")
  10. def address(): |[|[AddressInfo, String], Null]
    Definition Classes
    Server
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. def close(callback: Function1[UndefOr[Error], Unit]): Server.this.type
    Definition Classes
    Server
  14. def close(): Server.this.type
    Definition Classes
    Server
  15. var connections: Double
    Definition Classes
    Server
  16. def emit(event: Symbol, args: Any*): Boolean
    Definition Classes
    EventEmitter
  17. def emit(event: String, args: Any*): Boolean
    Definition Classes
    EventEmitter
  18. def emit_close(event: close): Boolean
    Definition Classes
    Server
    Annotations
    @JSName("emit")
  19. def emit_connection(event: connection, socket: Socket): Boolean
    Definition Classes
    Server
    Annotations
    @JSName("emit")
  20. def emit_error(event: error, err: Error): Boolean
    Definition Classes
    Server
    Annotations
    @JSName("emit")
  21. def emit_listening(event: listening): Boolean
    Definition Classes
    Server
    Annotations
    @JSName("emit")
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def eventNames(): Array[|[String, Symbol]]
    Definition Classes
    EventEmitter
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def getConnections(cb: Function2[|[Error, Null], Double, Unit]): Unit
    Definition Classes
    Server
  27. def getMaxListeners(): Double
    Definition Classes
    EventEmitter
  28. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. val headersTimeout: Double

    Limit the amount of time the parser will wait to receive the complete HTTP headers.

    Limit the amount of time the parser will wait to receive the complete HTTP headers.

    Definition Classes
    HttpBase
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  33. val keepAliveTimeout: Double
    Definition Classes
    HttpBase
  34. def listen(port: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  35. def listen(port: Unit, hostname: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  36. def listen(port: Unit, hostname: Unit, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  37. def listen(port: Unit, hostname: Unit, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  38. def listen(port: Unit, hostname: Unit, backlog: Double): Server.this.type
    Definition Classes
    Server
  39. def listen(port: Unit, hostname: String, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  40. def listen(port: Unit, hostname: String, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  41. def listen(port: Unit, hostname: String, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  42. def listen(port: Unit, hostname: String, backlog: Double): Server.this.type
    Definition Classes
    Server
  43. def listen(port: Unit, hostname: String): Server.this.type
    Definition Classes
    Server
  44. def listen(port: Unit, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  45. def listen(port: Unit, backlog: Double): Server.this.type
    Definition Classes
    Server
  46. def listen(port: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  47. def listen(port: Double, hostname: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  48. def listen(port: Double, hostname: Unit, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  49. def listen(port: Double, hostname: Unit, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  50. def listen(port: Double, hostname: Unit, backlog: Double): Server.this.type
    Definition Classes
    Server
  51. def listen(port: Double, hostname: String, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  52. def listen(port: Double, hostname: String, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  53. def listen(port: Double, hostname: String, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  54. def listen(port: Double, hostname: String, backlog: Double): Server.this.type
    Definition Classes
    Server
  55. def listen(port: Double, hostname: String): Server.this.type
    Definition Classes
    Server
  56. def listen(port: Double, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  57. def listen(port: Double, backlog: Double): Server.this.type
    Definition Classes
    Server
  58. def listen(port: Double): Server.this.type
    Definition Classes
    Server
  59. def listen(path: String, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  60. def listen(path: String, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  61. def listen(path: String, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  62. def listen(path: String, backlog: Double): Server.this.type
    Definition Classes
    Server
  63. def listen(path: String): Server.this.type
    Definition Classes
    Server
  64. def listen(options: ListenOptions, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  65. def listen(options: ListenOptions): Server.this.type
    Definition Classes
    Server
  66. def listen(handle: Any, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  67. def listen(handle: Any, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  68. def listen(handle: Any, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
  69. def listen(handle: Any, backlog: Double): Server.this.type
    Definition Classes
    Server
  70. def listen(handle: Any): Server.this.type
    Definition Classes
    Server
  71. def listen(): Server.this.type
    Definition Classes
    Server
  72. def listenerCount(event: Symbol): Double
    Definition Classes
    EventEmitter
  73. def listenerCount(event: String): Double
    Definition Classes
    EventEmitter
  74. def listeners(event: Symbol): Array[Function]
    Definition Classes
    EventEmitter
  75. def listeners(event: String): Array[Function]
    Definition Classes
    EventEmitter
  76. var listening: Boolean
    Definition Classes
    Server
  77. var maxConnections: Double
    Definition Classes
    Server
  78. val maxHeadersCount: |[Double, Null]

    Limits maximum incoming headers count.

    Limits maximum incoming headers count. If set to 0, no limit will be applied.

    Definition Classes
    HttpBase
  79. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  80. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  81. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  82. def off(event: Symbol, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  83. def off(event: String, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  84. def on(event: Symbol, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  85. def on(event: String, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  86. def on_close(event: close, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("on")
  87. def on_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("on")
  88. def on_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("on")
  89. def on_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("on")
  90. def once(event: Symbol, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  91. def once(event: String, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  92. def once_close(event: close, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("once")
  93. def once_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("once")
  94. def once_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("once")
  95. def once_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("once")
  96. def prependListener(event: Symbol, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  97. def prependListener(event: String, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  98. def prependListener_close(event: close, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("prependListener")
  99. def prependListener_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("prependListener")
  100. def prependListener_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("prependListener")
  101. def prependListener_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("prependListener")
  102. def prependOnceListener(event: Symbol, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  103. def prependOnceListener(event: String, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  104. def prependOnceListener_close(event: close, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("prependOnceListener")
  105. def prependOnceListener_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("prependOnceListener")
  106. def prependOnceListener_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("prependOnceListener")
  107. def prependOnceListener_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Definition Classes
    Server
    Annotations
    @JSName("prependOnceListener")
  108. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  109. def rawListeners(event: Symbol): Array[Function]
    Definition Classes
    EventEmitter
  110. def rawListeners(event: String): Array[Function]
    Definition Classes
    EventEmitter
  111. def ref(): Server.this.type
    Definition Classes
    Server
  112. def removeAllListeners(event: Symbol): Server.this.type
    Definition Classes
    EventEmitter
  113. def removeAllListeners(event: String): Server.this.type
    Definition Classes
    EventEmitter
  114. def removeAllListeners(): Server.this.type
    Definition Classes
    EventEmitter
  115. def removeListener(event: Symbol, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  116. def removeListener(event: String, listener: Function1[Any, Unit]): Server.this.type
    Definition Classes
    EventEmitter
  117. val requestTimeout: Double

    Sets the timeout value in milliseconds for receiving the entire request from the client.

    Sets the timeout value in milliseconds for receiving the entire request from the client.

    Definition Classes
    HttpBase
  118. def setMaxListeners(n: Double): Server.this.type
    Definition Classes
    EventEmitter
  119. def setTimeout(msecs: Unit, callback: Function0[Unit]): Server.this.type
    Definition Classes
    HttpBase
  120. def setTimeout(msecs: Double, callback: Function0[Unit]): Server.this.type
    Definition Classes
    HttpBase
  121. def setTimeout(msecs: Double): Server.this.type
    Definition Classes
    HttpBase
  122. def setTimeout(callback: Function0[Unit]): Server.this.type
    Definition Classes
    HttpBase
  123. def setTimeout(): Server.this.type
    Definition Classes
    HttpBase
  124. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  125. val timeout: Double
    Definition Classes
    HttpBase
  126. def toLocaleString(): String
    Definition Classes
    Object
  127. def toString(): String
    Definition Classes
    AnyRef → Any
  128. def unref(): Server.this.type
    Definition Classes
    Server
  129. def valueOf(): Any
    Definition Classes
    Object
  130. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  131. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  132. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from HttpBase

Inherited from nodeNetMod.Server

Inherited from SendHandle

Inherited from netMod.Server

Inherited from ^

Inherited from ^

Inherited from EventEmitter

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped