Class

io.scalajs.nodejs.http.ServerResponse

ServerResponseExtensions

Related Doc: package ServerResponse

Permalink

implicit final class ServerResponseExtensions extends AnyVal

Server Response Extensions

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerResponseExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServerResponseExtensions(response: ServerResponse)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def badRequest(): Unit

    Permalink
    Annotations
    @inline()
  6. def forbidden(): Unit

    Permalink
    Annotations
    @inline()
  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. def internalServerError(): Unit

    Permalink
    Annotations
    @inline()
  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. def notFound(): Unit

    Permalink
    Annotations
    @inline()
  11. val response: ServerResponse

    Permalink
  12. def setContentType(contentType: String): Unit

    Permalink

    Sets the content-type for the response

    Sets the content-type for the response

    contentType

    the given MIME type

    Annotations
    @inline()
  13. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped