WebSocketUpgrade

Module to switch protocol to websockets

class Object
trait Matchable
class Any
ChannelHandler

Value members

Concrete methods

final def isWebSocket(res: Response): Boolean
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

Abstract fields