HttpBase

@native @JSType trait HttpBase extends StObject
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any
class Server
class Server

Value members

Concrete methods

def setTimeout(callback: Function0[Unit]): HttpBase
def setTimeout(msecs: Double): HttpBase
def setTimeout(msecs: Double, callback: Function0[Unit]): HttpBase
def setTimeout(msecs: Unit, callback: Function0[Unit]): HttpBase

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var 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.

var keepAliveTimeout: Double
var maxHeadersCount: Double | Null

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

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

var 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.

var timeout: Double