object WebSocketFrame
Provides factory for WebSocketFrame
.
- Alphabetic
- By Inheritance
- WebSocketFrame
- 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
- def apply(statusCode: StatusCode, key: Option[MaskingKey]): WebSocketFrame
Creates Close frame using supplied status code.
Creates Close frame using supplied status code.
- statusCode
status code to serve as payload
- key
masking key
- Note
If there is
Some
masking key, it is used to mask status code.
- def apply(isFinal: Boolean, isCompressed: Boolean, opcode: Opcode, key: Option[MaskingKey], data: Array[Byte]): WebSocketFrame
Creates WebSocket frame using supplied attributes.
Creates WebSocket frame using supplied attributes.
- isFinal
indicates final frame of message
- isCompressed
indicates compression
- opcode
frame opcode
- key
masking key
- data
unmasked payload data
- Note
If there is
Some
masking key, it is used to maskdata
.
- def apply(isFinal: Boolean, isCompressed: Boolean, opcode: Opcode, key: Option[MaskingKey], length: Int, data: Array[Byte]): WebSocketFrame
Creates WebSocket frame using supplied attributes.
Creates WebSocket frame using supplied attributes.
- isFinal
indicates final frame of message
- isCompressed
indicates compression
- opcode
frame opcode
- key
masking key
- length
payload length
- data
unmasked payload data
- Note
If there is
Some
masking key, it is used to maskdata
.
- def apply(isFinal: Boolean, isCompressed: Boolean, opcode: Opcode, key: Option[MaskingKey], length: Long, payload: InputStream): WebSocketFrame
Creates WebSocket frame using supplied attributes.
Creates WebSocket frame using supplied attributes.
- isFinal
indicates final frame of message
- isCompressed
indicates compression
- opcode
frame opcode
- key
masking key
- length
payload length
- payload
input stream to payload
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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()
- 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()
Provided herein is API documentation for Scamper, the HTTP library for Scala.