ChunkSendToken¶
Identifies a send_chunk() operation.
Returned by Responder.send_chunk() on success and delivered to
HTTPServerLifecycleEventReceiver.on_chunk_sent() when the chunk data has
been fully handed to the OS. Tokens use structural equality based on
their ID, which is scoped per connection.
Applications managing multiple connections should pair tokens with connection identity to avoid ambiguity.
Implements¶
- Equatable[ChunkSendToken val] ref
Public fields¶
let id: U64 val¶
Public Functions¶
eq¶
Parameters¶
- that: ChunkSendToken val
Returns¶
- Bool val
ne¶
Parameters¶
- that: ChunkSendToken val
Returns¶
- Bool val