class Http2ServerResponse extends Object with StObject
- Annotations
- @JSType() @JSImport("http2", "Http2ServerResponse") @native()
- Source
- Http2ServerResponse.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Http2ServerResponse
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Http2ServerResponse(stream: ServerHttp2Stream)
- new Http2ServerResponse()
- Attributes
- protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addListener(event: Symbol, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def addListener(event: scala.Predef.String, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def addListener_close(event: close, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("addListener")
- def addListener_drain(event: drain, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("addListener")
- def addListener_error(event: error, listener: Function1[Error, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("addListener")
- def addListener_finish(event: finish, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("addListener")
- def addListener_pipe(event: pipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("addListener")
- def addListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("addListener")
- def addTrailers(trailers: OutgoingHttpHeaders): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val connection: |[Socket, TLSSocket]
- def createPushResponse(headers: OutgoingHttpHeaders, callback: Function2[|[Error, Null], Http2ServerResponse.this.type, Unit]): Unit
- def emit(event: Symbol, args: Any*): Boolean
- def emit(event: scala.Predef.String, args: Any*): Boolean
- def emit_close(event: close): Boolean
- Annotations
- @JSName("emit")
- def emit_drain(event: drain): Boolean
- Annotations
- @JSName("emit")
- def emit_error(event: error, error: Error): Boolean
- Annotations
- @JSName("emit")
- def emit_finish(event: finish): Boolean
- Annotations
- @JSName("emit")
- def emit_pipe(event: pipe, src: Readable): Boolean
- Annotations
- @JSName("emit")
- def emit_unpipe(event: unpipe, src: Readable): Boolean
- Annotations
- @JSName("emit")
- def end(data: Uint8Array, encoding: BufferEncoding, callback: Function0[Unit]): Unit
- def end(data: Uint8Array, encoding: BufferEncoding): Unit
- def end(data: Uint8Array, callback: Function0[Unit]): Unit
- def end(data: Uint8Array): Unit
- def end(data: scala.Predef.String, encoding: BufferEncoding, callback: Function0[Unit]): Unit
- def end(data: scala.Predef.String, encoding: BufferEncoding): Unit
- def end(data: scala.Predef.String, callback: Function0[Unit]): Unit
- def end(data: scala.Predef.String): Unit
- def end(callback: Function0[Unit]): Unit
- def end(): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val finished: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getHeader(name: scala.Predef.String): scala.Predef.String
- def getHeaderNames(): Array[scala.Predef.String]
- def getHeaders(): OutgoingHttpHeaders
- def hasHeader(name: scala.Predef.String): Boolean
- def hasOwnProperty(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val headersSent: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def on(event: Symbol, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def on(event: scala.Predef.String, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def on_close(event: close, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("on")
- def on_drain(event: drain, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("on")
- def on_error(event: error, listener: Function1[Error, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("on")
- def on_finish(event: finish, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("on")
- def on_pipe(event: pipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("on")
- def on_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("on")
- def once(event: Symbol, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def once(event: scala.Predef.String, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def once_close(event: close, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("once")
- def once_drain(event: drain, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("once")
- def once_error(event: error, listener: Function1[Error, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("once")
- def once_finish(event: finish, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("once")
- def once_pipe(event: pipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("once")
- def once_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("once")
- def prependListener(event: Symbol, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def prependListener(event: scala.Predef.String, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def prependListener_close(event: close, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_drain(event: drain, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_error(event: error, listener: Function1[Error, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_finish(event: finish, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_pipe(event: pipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependListener")
- def prependOnceListener(event: Symbol, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def prependOnceListener(event: scala.Predef.String, listener: Function1[Any, Unit]): Http2ServerResponse.this.type
- def prependOnceListener_close(event: close, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_drain(event: drain, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_error(event: error, listener: Function1[Error, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_finish(event: finish, listener: Function0[Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_pipe(event: pipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): Http2ServerResponse.this.type
- Annotations
- @JSName("prependOnceListener")
- def propertyIsEnumerable(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def removeHeader(name: scala.Predef.String): Unit
- var sendDate: Boolean
- def setHeader(name: scala.Predef.String, value: Double): Unit
- def setHeader(name: scala.Predef.String, value: Array[scala.Predef.String]): Unit
- def setHeader(name: scala.Predef.String, value: scala.Predef.String): Unit
- def setTimeout(msecs: Double, callback: Function0[Unit]): Unit
- def setTimeout(msecs: Double): Unit
- val socket: |[Socket, TLSSocket]
- var statusCode: Double
- var statusMessage: _empty
- val stream: ServerHttp2Stream
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(chunk: Uint8Array, encoding: BufferEncoding, callback: Function1[Error, Unit]): Boolean
- def write(chunk: Uint8Array, encoding: BufferEncoding): Boolean
- def write(chunk: Uint8Array, callback: Function1[Error, Unit]): Boolean
- def write(chunk: Uint8Array): Boolean
- def write(chunk: scala.Predef.String, encoding: BufferEncoding, callback: Function1[Error, Unit]): Boolean
- def write(chunk: scala.Predef.String, encoding: BufferEncoding): Boolean
- def write(chunk: scala.Predef.String, callback: Function1[Error, Unit]): Boolean
- def write(chunk: scala.Predef.String): Boolean
- def writeContinue(): Unit
- def writeHead(statusCode: Double, statusMessage: scala.Predef.String, headers: OutgoingHttpHeaders): Http2ServerResponse.this.type
- def writeHead(statusCode: Double, statusMessage: scala.Predef.String): Http2ServerResponse.this.type
- def writeHead(statusCode: Double, headers: OutgoingHttpHeaders): Http2ServerResponse.this.type
- def writeHead(statusCode: Double): Http2ServerResponse.this.type
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated