websockets-rs / rust-websocket

A WebSocket (RFC6455) library written in Rust

Home Page:http://websockets-rs.github.io/rust-websocket/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unix domain sockets

david415 opened this issue · comments

Please add features and or documentation so I can use a unix domain socket with your rust crate instead of TCP. Thanks.

websocket can connect and serve websockets over arbitrary underlying protocol. I use it this way in my project websocat, which does support UNIX sockets.

You need to use async_connect_on for client and into_ws for server. Maybe there are non-async methods for this as well.

cool thanks