Create seperate voice_gateway.rs and voice_udp.rs

This commit is contained in:
kozabrada123 2023-11-12 10:50:07 +01:00
parent 6ecbda1550
commit f90c91628a
3 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,9 @@ pub mod instance;
pub mod ratelimiter; pub mod ratelimiter;
pub mod types; pub mod types;
#[cfg(feature = "client")] #[cfg(feature = "client")]
pub mod voice; pub mod voice_gateway;
#[cfg(feature = "client")]
pub mod voice_udp;
#[derive(Clone, Default, Debug, PartialEq, Eq, Hash)] #[derive(Clone, Default, Debug, PartialEq, Eq, Hash)]
/// A URLBundle bundles together the API-, Gateway- and CDN-URLs of a Spacebar instance. /// A URLBundle bundles together the API-, Gateway- and CDN-URLs of a Spacebar instance.

1
src/voice_udp.rs Normal file
View File

@ -0,0 +1 @@
/// Defines voice raw udp socket handling