ServerResponse

io.github.edadma.nodejs.ServerResponse

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def cork(): Unit
def end(data: String, encoding: String): Unit
def end(data: Buffer): Unit
def flushHeaders(): Unit
def getHeader(name: String): UndefOr[String | Array[String]]
def hasHeader(name: String): Boolean
def removeHeader(name: String): Unit
def setHeader(name: String, value: String | Array[String]): Unit
def setTimeout(msecs: Int, callback: Function0[Unit]): this.type
def uncork(): Unit
def write(chunk: String): Unit
def writeHead(statusCode: Int): Unit
def writeHead(statusCode: Int, headers: Dictionary[String | Array[String]]): Unit

Inherited methods

def end(): Unit

Attributes

Inherited from:
WritableStream
def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object
def write(chunk: String | Buffer): Unit

Attributes

Inherited from:
WritableStream

Concrete fields

val finished: Boolean
val headersSent: Boolean
var statusCode: Int
var statusMessage: UndefOr[String]