Module cow_qpack

Data Types

encoder_opts()

encoder_opts() = #{huffman => boolean()}

error()

error() = qpack_decompression_failed | qpack_encoder_stream_error | qpack_decoder_stream_error

state()

abstract datatype: state()

Function Index

decode_field_section/3
decoder_cancel_stream/1
encode_field_section/3
encode_field_section/4
encoder_set_settings/3
execute_decoder_instructions/2
execute_encoder_instructions/2
init/1
init/3

Function Details

decode_field_section/3

decode_field_section(Data::binary(), StreamID::cow_http3:stream_id(), State) -> {ok, cow_http:headers(), binary(), State} | {blocked, State} | {connection_error, error(), atom()}

decoder_cancel_stream/1

decoder_cancel_stream(StreamID) -> any()

encode_field_section/3

encode_field_section(Headers::cow_http:headers(), StreamID::cow_http3:stream_id(), State) -> {ok, iolist(), iolist(), State}

encode_field_section/4

encode_field_section(Headers::cow_http:headers(), StreamID::cow_http3:stream_id(), State, Opts::encoder_opts()) -> {ok, iolist(), iolist(), State}

encoder_set_settings/3

encoder_set_settings(MaxTableCapacity::non_neg_integer(), MaxBlockedStreams::non_neg_integer(), State::state()) -> state()

execute_decoder_instructions/2

execute_decoder_instructions(X1::binary(), State) -> {ok, State} | {connection_error, qpack_decoder_stream_error, atom()}

execute_encoder_instructions/2

execute_encoder_instructions(Data::binary(), State) -> {ok, binary(), State} | {connection_error, qpack_encoder_stream_error, atom()}

init/1

init(Role::decoder | encoder) -> state()

init/3

init(Role::decoder | encoder, MaxTableCapacity::non_neg_integer(), MaxBlockedStreams::non_neg_integer()) -> state()


Generated by EDoc