- ASGI is a structured, asynchronous callable
- It takes
- a
scope
, adict
containing details about the specific connection send
an asynchronous callable to send event messages to the clientreceive
an asynchronous callabe to receive event messages from the client
- a
- Every event sent or receive is a
dict
- an event has
type
key to refer event structure
- an event has