final class Ws extends AnyRef

DSL for building WebSocket configurations

Immutable, so all methods return a new occurrence and leave the original unmodified.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ws
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def close(statusCode: Int, reason: String): ActionBuilder

    Boostrap an action to send a CLOSE frame with specified status and reason

    Boostrap an action to send a CLOSE frame with specified status and reason

    statusCode

    the close frame status code

    reason

    the close frame reason

    returns

    the next DSL step

    Annotations
    @NonNull()
  7. def close(): ActionBuilder

    Boostrap an action to send a CLOSE frame with the default 1000 status code

    Boostrap an action to send a CLOSE frame with the default 1000 status code

    returns

    the next DSL step

    Annotations
    @NonNull()
  8. def connect(url: Function[Session, String]): WsConnectActionBuilder

    Boostrap an action to connect the WebSocket

    Boostrap an action to connect the WebSocket

    url

    the url to connect to, expressed as a function

    returns

    the next DSL step

    Annotations
    @NonNull()
  9. def connect(url: String): WsConnectActionBuilder

    Boostrap an action to connect the WebSocket

    Boostrap an action to connect the WebSocket

    url

    the url to connect to, expressed as a Gatling Expression Language String

    returns

    the next DSL step

    Annotations
    @NonNull()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def sendBytes(bytes: Function[Session, Array[Byte]]): WsSendBinaryActionBuilder

    Boostrap an action to send a BINARY frame

    Boostrap an action to send a BINARY frame

    bytes

    the bytes to send, expressed as a function

    returns

    the next DSL step

    Annotations
    @NonNull()
  19. def sendBytes(bytes: String): WsSendBinaryActionBuilder

    Boostrap an action to send a BINARY frame

    Boostrap an action to send a BINARY frame

    bytes

    the bytes to send, expressed as a Gatling Expression Language String

    returns

    the next DSL step

    Annotations
    @NonNull()
  20. def sendBytes(bytes: Array[Byte]): WsSendBinaryActionBuilder

    Boostrap an action to send a BINARY frame

    Boostrap an action to send a BINARY frame

    bytes

    the static bytes to send

    returns

    the next DSL step

    Annotations
    @NonNull()
  21. def sendText(text: Function[Session, String]): WsSendTextActionBuilder

    Boostrap an action to send a TEXT frame

    Boostrap an action to send a TEXT frame

    text

    the text to send, expressed as a function

    returns

    the next DSL step

    Annotations
    @NonNull()
  22. def sendText(text: String): WsSendTextActionBuilder

    Boostrap an action to send a TEXT frame

    Boostrap an action to send a TEXT frame

    text

    the text to send, expressed as a Gatling Expression Language String

    returns

    the next DSL step

    Annotations
    @NonNull()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. def wsName(wsName: Function[Session, String]): Ws

    Define a custom WebSocket name so multiple WebSockets for the same virtual users don't conflict

    Define a custom WebSocket name so multiple WebSockets for the same virtual users don't conflict

    wsName

    the name, expressed as a function

    returns

    a new Ws instance

    Annotations
    @NonNull()
  29. def wsName(wsName: String): Ws

    Define a custom WebSocket name so multiple WebSockets for the same virtual users don't conflict

    Define a custom WebSocket name so multiple WebSockets for the same virtual users don't conflict

    wsName

    the name, expressed as a Gatling Expression Language String

    returns

    a new Ws instance

    Annotations
    @NonNull()

Deprecated Value Members

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

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped