pub unsafe extern "C" fn s2n_connection_get_remaining_early_data_size(
    conn: *mut s2n_connection,
    allowed_early_data_size: *mut u32
) -> c_int
Expand description

Reports the remaining size of the early data allowed by a connection.

If early data was rejected or not requested, the remaining early data size is 0. Otherwise, the remaining early data size is the maximum early data allowed by the connection, minus the early data sent or received so far.

@param conn A pointer to the connection @param allowed_early_data_size A pointer which will be set to the remaining early data currently allowed by conn @return A POSIX error signal.