final class Ws extends AnyRef
DSL for building WebSocket configurations
Immutable, so all methods return a new occurrence and leave the original unmodified.
- Alphabetic
- By Inheritance
- Ws
- AnyRef
- Any
- Hide All
- Show All
- Public
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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()
- 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()
- 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()
- 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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()
- 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()
- 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()
- 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()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- 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()
- 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()