Packages

object WebSocket

Source
WebSocket.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebSocket
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def handleWebSocketRequestWith(request: HttpRequest, handler: Flow[Message, Message, _]): HttpResponse

    If a given request is a WebSocket request a response accepting the request is returned using the given handler to handle the WebSocket message stream.

    If a given request is a WebSocket request a response accepting the request is returned using the given handler to handle the WebSocket message stream. If the request wasn't a WebSocket request a response with status code 400 is returned.