WebSocketUpgrade

Module to switch protocol to websockets

Companion:
object
class Object
trait Matchable
class Any
Handler[R]

Value members

Concrete methods

final def upgradeToWebSocket(jReq: HttpRequest, res: Response)(implicit ctx: ChannelHandlerContext): Unit

Checks if the response requires to switch protocol to websocket. Returns true if it can, otherwise returns false

Checks if the response requires to switch protocol to websocket. Returns true if it can, otherwise returns false