Module io.jooby
Package io.jooby

Interface WebSocket.Initializer

Enclosing interface:
WebSocket

public static interface WebSocket.Initializer
Websocket initializer. Give you access to a read-only Context you are free to access to request attributes, while attempt to modify a response results in exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(Context ctx, WebSocketConfigurer configurer)
    Callback with a readonly context and websocket configurer.
  • Method Details

    • init

      void init(@NonNull Context ctx, @NonNull WebSocketConfigurer configurer)
      Callback with a readonly context and websocket configurer.
      Parameters:
      ctx - Readonly context.
      configurer - WebSocket configurer.