ServerOptions

@native @JSType trait ServerOptions extends StObject
Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

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 IncomingMessage: UndefOr[Instantiable1[Socket, IncomingMessage]]
var ServerResponse: UndefOr[Instantiable1[IncomingMessage, ServerResponse]]
var insecureHTTPParser: UndefOr[Boolean]

Use an insecure HTTP parser that accepts invalid HTTP headers when true. Using the insecure parser should be avoided. See --insecure-http-parser for more information.

Use an insecure HTTP parser that accepts invalid HTTP headers when true. Using the insecure parser should be avoided. See --insecure-http-parser for more information.

var maxHeaderSize: UndefOr[Double]

Optionally overrides the value of --max-http-header-size for requests received by this server, i.e. the maximum length of request headers in bytes.

Optionally overrides the value of --max-http-header-size for requests received by this server, i.e. the maximum length of request headers in bytes.