fix twisp extension

This commit is contained in:
Toshit Chawda 2024-09-27 16:11:13 -07:00
parent 5e4461d61d
commit 95d7b101a0
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
3 changed files with 9 additions and 4 deletions

View file

@ -263,6 +263,11 @@ impl WispV2Extensions {
closure: Box::new(closure),
}
}
/// Add a Wisp V2 extension builder to the settings struct.
pub fn add_extension(&mut self, extension: AnyProtocolExtensionBuilder) {
self.builders.push(extension);
}
}
/// Server-side multiplexor.