Crate websocat[][src]

Note: library usage is not semver/API-stable

Type evolution of a websocat run:

  1. &str - string as passed to command line. When it meets the list of SpecifierClasses, there appears:
  2. Specifier - more organized representation, may be nested. When construct is called, we get:
  3. PeerConstructor - a future or stream that returns one or more connections. After completion, we get one or more of:
  4. Peer - an active connection. Once we have two of them, we can start a:
  5. Session with two Transfers - forward and reverse.

Re-exports

pub use options::Options;
pub use specifier::ClassMessageBoundaryStatus;
pub use specifier::ClassMulticonnectStatus;
pub use specifier::ConstructParams;
pub use specifier::Specifier;
pub use specifier::SpecifierClass;
pub use specifier::SpecifierStack;
pub use util::brokenpipe;
pub use util::io_other_error;
pub use util::wouldblock;
pub use util::box_up_err;
pub use util::multi;
pub use util::once;
pub use util::peer_err;
pub use util::peer_err_s;
pub use util::peer_strerr;
pub use util::simple_err;
pub use specparse::spec;
pub use sessionserve::serve;

Modules

all_peers
broadcast_reuse_peer
file_peer
line_peer
lints
mirror_peer
net_peer
options
primitive_reuse_peer
process_peer
readdebt
reconnect_peer
sessionserve
specifier
specparse
stdio_peer
stdio_threaded_peer
trivial_peer
unix_peer
util
ws_client_peer
ws_peer
ws_server_peer

Macros

list_of_all_specifier_classes

Structs

LeftSpecToRightSpec

Some information passed from the left specifier Peer to the right

Peer
ProgramState
Session
Transfer
WebsocatConfiguration1
WebsocatConfiguration2
WebsocatConfiguration3

Enums

L2rUser
PeerConstructor

Type Definitions

BoxedNewPeerFuture
BoxedNewPeerStream
PeerOverlay