blackbull.server.http2_actor¶
blackbull.server.http2_actor
¶
HTTP/2 Actor classes for the BlackBull actor model.
HTTP2Actor drives the HTTP/2 connection state machine for one TCP connection. StreamActor owns the lifetime of a single HTTP/2 stream.
HTTP2Actor
¶
Bases: Actor
Drives the HTTP/2 connection state machine for one connection.
Supervisor strategy: propagate — framing errors send GOAWAY and raise, surfacing to the caller.
If aggregator is None the actor dispatches events directly through
app._dispatcher instead.
receive()
async
¶
Read one HTTP/2 frame from the connection.
run()
async
¶
HTTP/2 connection state machine — process frames until connection closes.
send_frame(frame)
async
¶
Send a raw HTTP/2 frame via the control-plane sender.
Every emitted RST_STREAM passes through here, which is what makes this the one place the G8 blind spot can be closed without dusting the counter across a dozen refusal sites.