HTTP.HTTP2.BodyBridge (http_fetch v0.16.7)

Copy Markdown View Source

Bounded credit bridge for an HTTP.Stream upload producer.

The bridge owns at most one outstanding reader request and one bounded source chunk. It never calls a producer synchronously and never aggregates the body.

Summary

Types

t()

@type t() :: pid()

Functions

ack(bridge, ref)

cancel(bridge)

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

credit(bridge, bytes)

discard(bridge)

early_response(bridge)

start_link(stream, owner, opts \\ [])

status(bridge)