Trait holochain::prelude::FetchContextExt
source · pub trait FetchContextExt {
// Required methods
fn with_request_validation_receipt(
&self,
request_validation_receipt: bool
) -> Self;
fn has_request_validation_receipt(&self) -> bool;
fn with_countersigning_session(&self, countersigning_session: bool) -> Self;
fn has_countersigning_session(&self) -> bool;
}
Expand description
Holochain-specific FetchContext extension trait.
Required Methods§
sourcefn with_request_validation_receipt(
&self,
request_validation_receipt: bool
) -> Self
fn with_request_validation_receipt( &self, request_validation_receipt: bool ) -> Self
Applies the “request_validation_receipt” flag if the param is true otherwise, leaves the flag unchanged.
sourcefn has_request_validation_receipt(&self) -> bool
fn has_request_validation_receipt(&self) -> bool
Returns true if the “request_validation_receipt” flag is set.
sourcefn with_countersigning_session(&self, countersigning_session: bool) -> Self
fn with_countersigning_session(&self, countersigning_session: bool) -> Self
Applies the “countersigning_session” flag if the param is true otherwise, leaves the flag unchanged.
sourcefn has_countersigning_session(&self) -> bool
fn has_countersigning_session(&self) -> bool
Returns true if the “countersigning_session” flag is set.