Crate warp_websockify[][src]

warp-websockify

websockify implementation for warp

use warp::Filter;
use warp_websockify::{Destination, websockify};

let dest = Destination::tcp("localhost:5901").unwrap();
let serve = websockify(dest);

Enums

Destination

WebSockify upstream

WebsockifyError

Functions

websockify

Creates a Filter that connet to TCP or unix domain socket.

websockify_connect

Connect to TCP or unix domain socket and redirect to websocket