Requiem.NIF.Bridge (requiem v0.4.0)
Link to this section Summary
Link to this section Functions
Link to this function
config_destroy(ptr)
Specs
config_destroy(integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_enable_dgram(ptr, enabled, recv_queue_len, send_queue_len)
Specs
config_enable_dgram(integer(), boolean(), non_neg_integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_enable_early_data(ptr)
Specs
config_enable_early_data(integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_enable_hystart(ptr, v)
Specs
Link to this function
config_grease(ptr, grease)
Specs
Link to this function
config_load_cert_chain_from_pem_file(ptr, file)
Specs
Link to this function
config_load_priv_key_from_pem_file(ptr, file)
Specs
Link to this function
config_load_verify_locations_from_directory(ptr, dir)
Specs
Link to this function
config_load_verify_locations_from_file(ptr, file)
Specs
Link to this function
config_new()
Specs
config_new() :: {:ok, integer()} | {:error, :system_error | :not_found}
Link to this function
config_set_ack_delay_exponent(ptr, v)
Specs
config_set_ack_delay_exponent(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_application_protos(ptr, protos)
Specs
Link to this function
config_set_cc_algorithm_name(ptr, name)
Specs
Link to this function
config_set_disable_active_migration(ptr, v)
Specs
Link to this function
config_set_initial_max_data(ptr, v)
Specs
config_set_initial_max_data(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_initial_max_stream_data_bidi_local(ptr, v)
Specs
config_set_initial_max_stream_data_bidi_local(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_initial_max_stream_data_bidi_remote(ptr, v)
Specs
config_set_initial_max_stream_data_bidi_remote(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_initial_max_stream_data_uni(ptr, v)
Specs
config_set_initial_max_stream_data_uni(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_initial_max_streams_bidi(ptr, v)
Specs
config_set_initial_max_streams_bidi(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_initial_max_streams_uni(ptr, v)
Specs
config_set_initial_max_streams_uni(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_max_ack_delay(ptr, v)
Specs
config_set_max_ack_delay(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_max_idle_timeout(ptr, v)
Specs
config_set_max_idle_timeout(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_set_max_udp_payload_size(ptr, v)
Specs
config_set_max_udp_payload_size(integer(), non_neg_integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
config_verify_peer(ptr, verify)
Specs
Link to this function
connection_accept(config_ptr, scid, odcid, peer, sender_pid, stream_buf_size)
Specs
Link to this function
connection_accept_connect_request(conn_ptr)
Specs
connection_accept_connect_request(integer()) :: {:ok, non_neg_integer()} | {:error, :system_error | :already_closed}
Link to this function
connection_close(conn, app, err, reason)
Specs
connection_close(integer(), boolean(), non_neg_integer(), binary()) :: {:ok, non_neg_integer()} | {:error, :system_error | :already_closed}
Link to this function
connection_destroy(conn_ptr)
Specs
connection_destroy(integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
connection_dgram_send(conn, data)
Specs
connection_dgram_send(integer(), binary()) :: {:ok, non_neg_integer()} | {:error, :system_error | :already_closed}
Link to this function
connection_is_closed(conn)
Specs
Link to this function
connection_on_packet(pid, conn, packet)
Specs
connection_on_packet(pid(), integer(), binary()) :: {:ok, non_neg_integer()} | {:error, :system_error | :already_closed}
Link to this function
connection_on_timeout(conn)
Specs
connection_on_timeout(integer()) :: {:ok, non_neg_integer()} | {:error, :system_error | :already_closed}
Link to this function
connection_open_stream(conn_ptr, is_bidi)
Specs
connection_open_stream(integer(), boolean()) :: {:ok, non_neg_integer(), non_neg_integer()} | {:error, :system_error | :already_closed}
Link to this function
connection_reject_connect_request(conn_ptr, code)
Specs
connection_reject_connect_request(integer(), integer()) :: {:ok, non_neg_integer()} | {:error, :system_error | :already_closed}
Link to this function
connection_stream_send(conn, stream_id, data, fin)
Specs
connection_stream_send(integer(), non_neg_integer(), binary(), boolean()) :: {:ok, non_neg_integer()} | {:error, :system_error | :already_closed}
Link to this function
cpu_num()
Specs
cpu_num() :: integer() | {:error, :system_error | :not_found}
Link to this function
packet_builder_build_negotiate_version(builder, scid, dcid)
Specs
Link to this function
packet_builder_build_retry(builder, scid, dcid, new_scid, token, version)
Specs
Link to this function
packet_builder_destroy(builder)
Specs
packet_builder_destroy(integer()) :: :ok | {:error, :system_error}
Link to this function
packet_builder_new()
Specs
packet_builder_new() :: {:ok, integer()} | {:error, :system_error}
Link to this function
socket_address_from_string(address)
Specs
Link to this function
socket_address_parts(address)
Specs
socket_address_parts(term()) :: {:ok, binary(), non_neg_integer()}
Link to this function
socket_destroy(ptr)
Specs
socket_destroy(integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
socket_new(num_node, read_timeout, write_timeout)
Specs
socket_new(integer(), non_neg_integer(), non_neg_integer()) :: {:ok, integer()} | {:error, :system_error | :socket_error}
Link to this function
socket_sender_destroy(socket_ptr)
Specs
socket_sender_destroy(integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
socket_sender_get(socket_ptr, idx)
Specs
socket_sender_get(integer(), non_neg_integer()) :: {:ok, integer()} | {:error, :system_error | :not_found}
Link to this function
socket_sender_send(socket_ptr, addr, packet)
Specs
Link to this function