pub fn accept_hdr_async<S, C>(stream: S, callback: C) -> AcceptAsync<S, C>
where
    S: AsyncRead + AsyncWrite,
    C: Callback,
{
    accept_hdr_async_with_config(stream, callback, None)
}
/// Accepts a new WebSocket connection with the provided stream.
///
/// This function does the same as `accept_async()` but accepts an extra callback
/// for header processing. The callback receives headers of the incoming
/// requests and is able to add extra headers to the reply.
Accepts a new WebSocket connection with the provided stream.
This function does the same as `accept_async()` but accepts an extra callback
for header processing. The callback receives headers of the incoming
requests and is able to add extra headers to the reply.
Accepts a new WebSocket connection with the provided stream . This function does the same as ` accept_async () ` but accepts an extra callback for header processing . The callback receives headers of the incoming requests and is able to add extra headers to the reply .
pub fn accept_hdr_async<S, C>(stream: S, callback: C) -> AcceptAsync<S, C>
where
    S: AsyncRead + AsyncWrite,
    C: Callback,
{
    accept_hdr_async_with_config(stream, callback, None)
}
pub fn accept_hdr_async < S , C > ( stream : S , callback : C ) -> AcceptAsync < S , C > where S : AsyncRead + AsyncWrite , C : Callback , { accept_hdr_async_with_config ( stream , callback , None ) }
Accepts a new WebSocket connection with the provided stream.
Accepts a new WebSocket connection with the provided stream .
stream
S
callback
C
stream
S
callback
C