Skip to content

Commit

Permalink
make sctp transport_config public
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrtc committed Jan 20, 2024
1 parent bc9fae8 commit 2b95c79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sctp/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ impl TransportConfig {
self
}

pub(crate) fn max_receive_buffer_size(&self) -> u32 {
pub fn max_receive_buffer_size(&self) -> u32 {
self.max_receive_buffer_size
}

pub(crate) fn max_message_size(&self) -> u32 {
pub fn max_message_size(&self) -> u32 {
self.max_message_size
}

pub(crate) fn max_num_outbound_streams(&self) -> u16 {
pub fn max_num_outbound_streams(&self) -> u16 {
self.max_num_outbound_streams
}

pub(crate) fn max_num_inbound_streams(&self) -> u16 {
pub fn max_num_inbound_streams(&self) -> u16 {
self.max_num_inbound_streams
}
}
Expand Down

0 comments on commit 2b95c79

Please sign in to comment.