object WebSocketFrame
- Alphabetic
- By Inheritance
- WebSocketFrame
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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(asJava: core.http.WebSocketFrame): WebSocketFrame
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
binaryFrame(data: Buffer, isFinal: Boolean): WebSocketFrame
Create a binary WebSocket frame.
Create a binary WebSocket frame. * @param data the data for the frame
- isFinal
true if it's the final frame in the WebSocket message
- returns
the frame
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
continuationFrame(data: Buffer, isFinal: Boolean): WebSocketFrame
Create a continuation frame * @param data the data for the frame
Create a continuation frame * @param data the data for the frame
- isFinal
true if it's the final frame in the WebSocket message
- returns
the frame
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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
pingFrame(data: Buffer): WebSocketFrame
Create a ping WebSocket frame.
Create a ping WebSocket frame. Will be a final frame. There is no option for non final ping frames. * @param data the bytes for the frame, may be at most 125 bytes
- returns
the frame
-
def
pongFrame(data: Buffer): WebSocketFrame
Create a pong WebSocket frame.
Create a pong WebSocket frame. Will be a final frame. There is no option for non final pong frames. * @param data the bytes for the frame, may be at most 125 bytes
- returns
the frame
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
textFrame(str: String, isFinal: Boolean): WebSocketFrame
Create a text WebSocket frame.
Create a text WebSocket frame. * @param str the string for the frame
- isFinal
true if it's the final frame in the WebSocket message
- returns
the frame
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )