mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 22:10:01 -04:00
add notice about protocol extension availability
This commit is contained in:
parent
d10b7691e4
commit
76da9fd619
1 changed files with 4 additions and 0 deletions
|
@ -473,6 +473,8 @@ impl ServerMux {
|
||||||
/// Create a new server-side multiplexor.
|
/// Create a new server-side multiplexor.
|
||||||
///
|
///
|
||||||
/// If extension_builders is None a Wisp v1 connection is created otherwise a Wisp v2 connection is created.
|
/// If extension_builders is None a Wisp v1 connection is created otherwise a Wisp v2 connection is created.
|
||||||
|
/// **It is not guaranteed that all extensions you specify are available.** You must manually check
|
||||||
|
/// if the extensions you need are available after the multiplexor has been created.
|
||||||
pub async fn new<R, W>(
|
pub async fn new<R, W>(
|
||||||
mut read: R,
|
mut read: R,
|
||||||
write: W,
|
write: W,
|
||||||
|
@ -601,6 +603,8 @@ impl ClientMux {
|
||||||
/// Create a new client side multiplexor.
|
/// Create a new client side multiplexor.
|
||||||
///
|
///
|
||||||
/// If extension_builders is None a Wisp v1 connection is created otherwise a Wisp v2 connection is created.
|
/// If extension_builders is None a Wisp v1 connection is created otherwise a Wisp v2 connection is created.
|
||||||
|
/// **It is not guaranteed that all extensions you specify are available.** You must manually check
|
||||||
|
/// if the extensions you need are available after the multiplexor has been created.
|
||||||
pub async fn new<R, W>(
|
pub async fn new<R, W>(
|
||||||
mut read: R,
|
mut read: R,
|
||||||
write: W,
|
write: W,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue