Crate websocat[−][src]
Note: library usage is not semver/API-stable
Type evolution of a websocat run:
&str
- string as passed to command line. When it meets the list ofSpecifierClass
es, there appears:Specifier
- more organized representation, may be nested. Whenconstruct
is called, we get:PeerConstructor
- a future or stream that returns one or more connections. After completion, we get one or more of:Peer
- an active connection. Once we have two of them, we can start a:Session
with twoTransfer
s - 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
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 |