c

io.scalajs.nodejs.http2

Http2ServerResponse

class Http2ServerResponse extends Object with Http2TimeoutOps

Annotations
@RawJSType() @native() @JSImport("http2", "Http2ServerResponse")
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http2ServerResponse
  2. Http2TimeoutOps
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Http2ServerResponse()

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 addTrailers(headers: Http2Headers): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def connection: |[Socket, TLSSocket]
  8. def createPushResponse(headers: Http2Headers, callback: Function2[Error, ServerHttp2Stream, Any]): Unit
  9. def end(): UndefOr[Http2ServerResponse.this.type]
  10. def end(chunk: String, encoding: String): UndefOr[Http2ServerResponse.this.type]
  11. def end(chunk: String, encoding: String, callback: Function1[scala.Error, Any]): UndefOr[Http2ServerResponse.this.type]
  12. def end(callback: Function1[scala.Error, Any]): UndefOr[Http2ServerResponse.this.type]
  13. def end(chunk: |[String, Buffer]): UndefOr[Http2ServerResponse.this.type]
  14. def end(chunk: |[String, Buffer], callback: Function1[scala.Error, Any]): UndefOr[Http2ServerResponse.this.type]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def finished: Boolean
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def getHeader(name: String): String
  20. def getHeaderNames(name: String): Array[String]
  21. def getHeaders(): Http2Headers
  22. def hasHeader(name: String): Boolean
  23. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def headersSent: Boolean
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  32. def removeHeader(name: String): Unit
  33. def sendDate: Boolean
  34. def setHeader(name: String, value: |[String, Array[String]]): Unit
  35. def setTimeout(): Http2ServerResponse.this.type
    Definition Classes
    Http2TimeoutOps
  36. def setTimeout(callback: Function): Http2ServerResponse.this.type
    Definition Classes
    Http2TimeoutOps
  37. def setTimeout(msecs: Int): Http2ServerResponse.this.type
    Definition Classes
    Http2TimeoutOps
  38. def setTimeout(msecs: Int, callback: Function): Http2ServerResponse.this.type
    Definition Classes
    Http2TimeoutOps
  39. def socket: |[Socket, TLSSocket]
  40. def statusCode: Int
  41. def statusMessage: String
  42. def stream: Http2Stream
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toLocaleString(): String
    Definition Classes
    Object
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. def valueOf(): Any
    Definition Classes
    Object
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. def write(chunk: String, encoding: String): Boolean
  51. def write(chunk: String, encoding: String, callback: Function1[scala.Error, Any]): Boolean
  52. def write(chunk: |[String, Buffer]): Boolean
  53. def write(chunk: |[String, Buffer], callback: Function1[scala.Error, Any]): Boolean
  54. def writeContinue(): Unit
  55. def writeHead(statusCode: Int): Unit
  56. def writeHead(statusCode: Int, statusMessage: String): Unit
  57. def writeHead(statusCode: Int, http2Headers: Http2Headers): Unit
  58. def writeHead(statusCode: Int, statusMessage: String, http2Headers: Http2Headers): Unit

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from Http2TimeoutOps

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped