Class

io.scalajs.npm.express

CookieOptions

Related Doc: package express

Permalink

class CookieOptions extends Object

Cookie Options

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CookieOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CookieOptions(domain: UndefOr[String] = js.undefined, encode: UndefOr[Function] = js.undefined, expires: UndefOr[Date] = js.undefined, httpOnly: UndefOr[Boolean] = js.undefined, maxAge: UndefOr[String] = js.undefined, path: UndefOr[String] = js.undefined, secure: UndefOr[Boolean] = js.undefined, signed: UndefOr[Boolean] = js.undefined)

    Permalink

    domain

    Domain name for the cookie. Defaults to the domain name of the app.

    encode

    A synchronous function used for cookie value encoding. Defaults to encodeURIComponent.

    expires

    Expiry date of the cookie in GMT. If not specified or set to 0, creates a session cookie.

    httpOnly

    Flags the cookie to be accessible only by the web server.

    maxAge

    Convenient option for setting the expiry time relative to the current time in milliseconds.

    path

    Path for the cookie. Defaults to “/”.

    secure

    Marks the cookie to be used with HTTPS only.

    signed

    Indicates if the cookie should be signed.

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. var domain: UndefOr[String]

    Permalink

    Domain name for the cookie.

    Domain name for the cookie. Defaults to the domain name of the app.

  7. var encode: UndefOr[Function]

    Permalink

    A synchronous function used for cookie value encoding.

    A synchronous function used for cookie value encoding. Defaults to encodeURIComponent.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. var expires: UndefOr[Date]

    Permalink

    Expiry date of the cookie in GMT.

    Expiry date of the cookie in GMT. If not specified or set to 0, creates a session cookie.

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. var httpOnly: UndefOr[Boolean]

    Permalink

    Flags the cookie to be accessible only by the web server.

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  18. var maxAge: UndefOr[String]

    Permalink

    Convenient option for setting the expiry time relative to the current time in milliseconds.

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. var path: UndefOr[String]

    Permalink

    Path for the cookie.

    Path for the cookie. Defaults to “/”.

  23. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  24. var secure: UndefOr[Boolean]

    Permalink

    Marks the cookie to be used with HTTPS only.

  25. var signed: UndefOr[Boolean]

    Permalink

    Indicates if the cookie should be signed.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped