Skip to content

ChunkSendToken

[Source]

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.

class val ChunkSendToken is
  Equatable[ChunkSendToken val] ref

Implements


Public fields

let id: U64 val

[Source]


Public Functions

eq

[Source]

fun box eq(
  that: ChunkSendToken val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: ChunkSendToken val)
: Bool val

Parameters

Returns