GraphQLWSHandler
Constructor:
Signature:
Parameters:
-
schema:
- Type
-
BaseSchema
-
debug:
- Type
-
bool
-
keep_alive:
- Type
-
bool
-
keep_alive_interval:
- Type
-
float
-
get_context:
- Type
-
Callable
-
get_root_value:
- Type
-
Callable
-
ws:
- Type
-
WebSocket
Methods:
-
get_context
Signature:
-
get_root_value
Signature:
-
send_json
Signature:
Parameters:
-
data:
- Type
-
OperationMessage
-
-
close
Signature:
Parameters:
-
code:
- Type
-
int
- Default
-
1000
-
reason:
- Type
-
str | None
- Default
-
None
-
-
handle_request
Signature: