Function start
Source pub async fn start<const B: usize, E, D, C, W>(
socket_path: impl AsRef<Path>,
server_context_extensions: E,
global_context: D::GlobalContext,
session_context_init: impl Into<Arc<RwLock<D::SessionContext>>> + Clone + Send + 'static,
) -> Result<()>where
E:
Clone +
Send + 'static,
D:
RequestDelegator<C> + 'static,
D::
GlobalContext:
Sync +
Send + 'static,
D::
SessionContext:
Sync +
Send + 'static,
C: CommunicableTypes<Req = W::
Incoming, Resp = W::
Outgoing> + 'static,
C::Resp:
From<GenericWebSocketError>,
W:
WebSocketContext +
Unpin +
Send + 'static,
W::
Incoming:
Send,
W::
Outgoing:
Send,
W::
Responder:
Send,
W::
Options:
IntoWebSocketContext<W, Channel =
Sender<
RawWebSocketItem<W::
Incoming, W::
Outgoing>>> +
From<(
WebSocketChannel<
UnixStream, W::
Incoming, W::
Outgoing>, E)>,