strawberry.channels.GraphQLWSHandler

Constructor:

Signature:

def __init__(
self,
schema: BaseSchema,
debug: bool,
keep_alive: bool,
keep_alive_interval: float,
get_context: Callable,
get_root_value: Callable,
ws: ChannelsWSConsumer,
) -> None:
...

Parameters:

  1. schema:

    Type
    BaseSchema
  2. debug:

    Type
    bool
  3. keep_alive:

    Type
    bool
  4. keep_alive_interval:

    Type
    float
  5. get_context:

    Type
    Callable
  6. get_root_value:

    Type
    Callable
  7. ws:

    Type
    ChannelsWSConsumer

Methods: