# config.rs - source
Source of the Rust file `crates/wasm/src/prover/config.rs`.

Skip to main content

#
tlsn_wasm/prover/
config.rs

    1use crate::types::NetworkSetting;
    2use serde::Deserialize;
    3use tsify_next::Tsify;
    4
    5#[derive(Debug, Tsify, Deserialize)]
    6#[tsify(from_wasm_abi)]
    7pub struct ProverConfig {
    8    pub server_name: String,
    9    pub max_sent_data: usize,
    10    pub max_sent_records: Option<usize>,
    11    pub max_recv_data_online: Option<usize>,
    12    pub max_recv_data: usize,
    13    pub max_recv_records_online: Option<usize>,
    14    pub defer_decryption_from_start: Option<bool>,
    15    pub network: NetworkSetting,
    16    pub client_auth: Option<(Vec<Vec<u8>>, Vec<u8>)>,
    17}