Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(tlsn-core): update Direction docs #427

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs(tlsn-core): update Direction docs
  • Loading branch information
sinui0 committed Feb 9, 2024
commit 6e60b73905d9974fda5a91c0c0a9a6846af21933
7 changes: 4 additions & 3 deletions tlsn/tlsn-core/src/transcript.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,13 @@ impl TranscriptSlice {

/// The direction of data communicated over a TLS connection.
///
/// This is used to differentiate between data sent to the Server, and data received from the Server.
/// This is used to differentiate between data sent from the Prover to the TLS peer,
/// and data received by the Prover from the TLS peer (client or server).
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub enum Direction {
/// Sent from the prover to the server
/// Sent from the Prover to the TLS peer.
Sent,
/// Received by the prover from the server
/// Received by the prover from the TLS peer.
Received,
}

Expand Down
Loading